Computer Studies

Display 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:
END

QBASIC

QBASIC: Conditional Statements

9 Likes

Answer

The output of the program is shown below:

2  
4  
6  
8  
10  
12  
14  
16  
18  
20

Answered By

3 Likes


Related Questions