Menu

Count-Controlled Iteration - Spot the Bug

Each program has one mistake. Tap the line where the mistake is, then choose the change to that line that makes the program work.

Program 1 of 29
1. Print the numbers from 1 to 10, one per line, then say how many numbers were printed.
it should print
1
2
3
4
5
6
7
8
9
10
Numbers printed: 10

Step 1: tap the line where the mistake is.

Log in or sign-up to find the bugs



Don't have a login?

You can still revise this topic