User Forum

Subject :ICSO    Class : Class 6
what would be the output of given QBASIC code if user enter the value of a=1 and b=5? CLS INPUT A INPUT B SUM = A+B AVG= SUM/2 PRINT " SUM"=; SUM PRINT "AVG"= ; AVG A= SUM=6 AVERAGE =3 B= A=1 B=5 SUM=6 AVG=3 C= A=1 B=5 D= SUM=6 AVG=3

Ans 1:

Class : Class 10
8 is the answer

Ans 2:

Class : Class 6
Its easy , go to web and search .

Post Your Answer