Codington
0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Repair the Loop Condition

The loop should count upward, but its comparison is false before the first repetition. As a result, nothing appears in the console.

Your task

Change only the comparison operator so the loop displays Number: 1, Number: 2, and Number: 3.