Menu

1D Arrays - 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 44
1. Print the number of colours, then print every colour in the array, one per line.
it should print
4
Blue
Pink
Green
Yellow

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