<<<<<< REVIEW CLEANING SUBROUTINE >>>>>>
If they want to quit, do so
<<<<<< CLEAN THE INSIDE OF BOUNDED ARE ONLY >>>>>
If they want to quit, do so
|
-------->|
! v
! *
! * * FALSE
! * e? *----->|
! * * !
! * !
! | TRUE !
! v !
! ------------- !
! | Statement | !
! ------------- !
! | !
!<-------! |<--------!
!
v
The while Statement Diagram
The while statement
executes a group statements
as long as at the top of
of the loop the test
criterion is TRUE, i.e.,
NON-ZERO.
Syntax:
while (test criteria != 0) {
execute these statement(s)
}
<<<< END OF DIAGRAM >>>>