Syntax for the while statement while( <boolean expression> <statement> Boolean Expression while(: number < 100 ··················································· 。sum sum number Statement (loop body) ∵ number number 1 C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 7-4© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7 - 4 while ( number <= 100 ) { sum = sum + number; number = number + 1; } Syntax for the while Statement while ( <boolean expression> ) <statement> Statement (loop body) Boolean Expression