6.0k views
0 votes
1. P=O START: PRINT PP = P + 5 IFP
<=20 THEN GOTO START: * what is output​

User Ales
by
3.2k points

1 Answer

5 votes

Answer:

0

5

10

15

20

Step-by-step explanation:

P=O should be P=0, but even with this error this is the output.

When P reaches 20 it will execute the loop once more, so 20 gets printed, before getting increased to 25, which will not be printed because then the loop ends.

1. P=O START: PRINT PP = P + 5 IFP <=20 THEN GOTO START: * what is output​-example-1
User Fischbrot
by
3.3k points