Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Count and Sum [4/8]

This program prints out the first 10 odd numbers.

After running the program, modify it so that it outputs every third number starting from number 10.

After that, modify the program so that it outputs every third number starting from number 22 and ending at 61.

After that, modify the program so that it also outputs the value of variable i on each iteration.

After that, modify the program so that it outputs the first 12 positive whole numbers which are divisible by 6 (6, 12, 18, 24, ...).

Loading...