Programming for Kids - ZedLX

The Easiest Way to Learn Computer Programming

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.