Computer Studies

Display the output of the following QBASIC program:

CLS
P = 5
START:
PRINT P
P = P + 5
IF P <= 50 THEN GOTO START:
END

QBASIC

QBASIC: Conditional Statements

17 Likes

Answer

The output of the program is shown below:

5  
10  
15  
20  
25  
30  
35  
40  
45  
50

Answered By

6 Likes


Related Questions