FIT   100
© Copyright University of Washington 1999-2000
Two Additional Control Statements
vThe conditional statement (If-Then-Else) is the only way (so far) to control which statements are executed
vWe will introduce two more:
oElseIf -- a variation on the If-Then-Else for long sequences of tests
oDo While -- a control facility allowing statements to be repeated as long as some condition is true
o
Programming languages have other control statements, but these are enough to do any programming