Skip to end of banner
Go to start of banner

For Loop Example 1

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 »

runnerLog("Example 1: I can count!");
for(int x = 1; x <= 10; x+=2) {
    runnerLog(x);
}

Use this method when you are not looping through an array of values but some finite number.

  • No labels