Advertisement

Loop Structure – while Loop

Chapter

Abstract

This is another way for the loop structure (Figure 9-1).

        while(i == 0) {
              <do something>;    //the variable "i" may be updated in this code block.
        }

Copyright information

© Ron Dai 2019

Authors and Affiliations

  • Ron Dai
    • 1
  1. 1.SeattleUSA

Personalised recommendations