What is the output of the following program Public class Q04
Solution
4)ouput:-
Y=0
Y=9
Y=36
Y=81
Total is:126
5)ouput:-
x =35
y =15
ans =30
6)ouput:-
2 2
5 4
10 6
10 7
![What is the output of the following program? Public class Q_04 {public static void main(string args[]} {int y, x = 0, total = 0; while (x Solution4)ouput:- Y=0 What is the output of the following program? Public class Q_04 {public static void main(string args[]} {int y, x = 0, total = 0; while (x Solution4)ouput:- Y=0](/WebImages/38/what-is-the-output-of-the-following-program-public-class-q04-1113566-1761591015-0.webp)
4)ouput:-
Y=0
Y=9
Y=36
Y=81
Total is:126
5)ouput:-
x =35
y =15
ans =30
6)ouput:-
2 2
5 4
10 6
10 7
![What is the output of the following program? Public class Q_04 {public static void main(string args[]} {int y, x = 0, total = 0; while (x Solution4)ouput:- Y=0 What is the output of the following program? Public class Q_04 {public static void main(string args[]} {int y, x = 0, total = 0; while (x Solution4)ouput:- Y=0](/WebImages/38/what-is-the-output-of-the-following-program-public-class-q04-1113566-1761591015-0.webp)