Computer Studies
Display the output of the following QBASIC program:
CLS
A = 5
B = 10
START:
C = A + B
PRINT C
A = A + 1
IF A <=10 THEN GOTO START:
END
Related Questions
Display the output of the following QBASIC program:
CLS
P = 5
START:
PRINT P
P = P + 5
IF P <= 50 THEN GOTO START:
ENDDisplay the output of the following QBASIC program:
CLS
P = 2
Q = 1
START:
PRINT P*Q
Q = Q + 1
IF Q <=10 THEN GOTO START:
ENDDisplay the output of the following QBASIC program:
CLS
C = 3
D = C*2
START:
PRINT C,D
C = C + 2
IF C <=10 THEN GOTO START:
ENDWhat is a counter? Explain with reference to a program.