Display the output of the following QBASIC program:
CLS
P = 5
START:
PRINT P
P = P + 5
IF P <= 50 THEN GOTO START:
END
pls give the ans with explanation also
Answers
Answered by
0
The output of the program is shown below:
5
10
15
20
25
30
35
40
45
50
it will add on 5+5+5... etc
Similar questions