



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































2
3
5
6
8
Question?
Yes No
9
11
12
14
{ … statements to do;… }^
Is Conditiontrue?
No
Update Do theseinstructionsYes Initialisation
Init, update, conditionDo theseinstructions
15
Is Conditiontrue?
No Do theseinstructions
Yes
17
Start Stop
i = i + 1 No
Yes sum=0i = 0 Is i <= N
sum=sum+i
InputN Outputsum
18
20
Start i = 0 Is i < 10 Stop
i = i + 1 Yes No Outputi
21