User Forum

Subject :ICSO    Class : Class 7

What would be the output of the following QBASIC program, if the user enters 8 for input prompt?
INPUT N
IF N > 5 THENFOR I = 1 TO 3 O = N + 1P = N + 2Q = N + 3S = N + O + P + QNEXT IEND IFPRINT S

A38
B30
C28
D45


Post Your Answer