(1)
IF x = = 100
|
(2)
X = 1
|
(3)
X = 0
|
1. This is an example of a multiway selection. |
2. A simple case of a repeat loop. The processes X = X + 1 and DISPLAY X will be repeated until X is greater than 10. |
3. A case of a nested loop, a repeat loop within a while loop. |
This publication is copyright David Beech and Learning Systems 1997-2002
and may not be reproduced by any means without the written permission of
David Beech.
9 Wyndella Street, Tasmania, Australia