Learn to Program with ZedLX

Free Online Programming Course for Beginners

Basics of for Loops [3/10]

The loop control variable m holds the current iteration number.

The program completes execution almost instantly because it has no delays.
[Run the program]

Exercise:

  1. Modify the println statement to: println "m*3 = ", m*3;

Loading...