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
Share
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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
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