Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

while Loop and Keyboard [4/11]

This is a variation of the previous program. It clears the screen by calling the clearScr function on each iteration of the while loop.

After running the program, modify it so that it prints out the square of variable i on the end of program execution.

Loading...