Skip to end of banner
Go to start of banner

While

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The switch statement is somewhat similar to an if/else statement but can be easier
to read when there are many different possible conditions.

Example 1

number count = 1;
while(count <= 10) {
    runnerLog(count);
    count ++;
}

  • No labels