Skip to end of banner
Go to start of banner

Do 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 »

While loops are similar to for loops but it can be easier (or sometimes the only way)
to determine how many times the loop should go.

Example 1

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

  • No labels