Programming for Beginners and Kids - ZedLX

The Easiest Online Computer Programming Course, for Free

The if Statement [1/16]

The if Statement

The if statement executes the following statement block only if the given condition is true.

After you run the program, click on the "Restart" button several times to observe the behavior of the program.