Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Iteration [3/10]

The loop control variable, named m in this example, holds the number of current iteration.

The program completes execution almost instantly, because it contains no pauses.
[Run the program]

Exercise:

1. Change the println statement as follows: println "m*3 = ", m*3;

Loading...