What is the output of the following program Public class Q04


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

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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site