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

QBASIC

QBASIC: Conditional Statements

34 Likes

Answer

The output of the program is shown below:

15  
16  
17  
18  
19  
20 

Answered By

12 Likes


Related Questions