FOR count ← 1 TO 6 OUTPUT “Coding is cool” ENDFOR The first line of the program determines how many times the code is to be iterated. It uses a variable, in this case count, known as the stepper ...
Clean tooth 1 Clean tooth 2 Clean tooth 3... and so on, up to 32. But that would be very repetitive. Instead, iteration could be used to repeat the steps: Here, the condition is whether the number of ...