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.