Programming for Kids - ZedLX

The Easiest Way to Learn Computer Programming, for Free

while Loop and Keyboard [2/11]

This program prints the square of each natural number i while the square is smaller than 300.

The condition of the while loop is checked only at the beginning of each iteration.