Start
Declare array studentnames = ["Rob", "Anna", "Huw", "Emma", "Patrice", "Iqbal"]
for i =0 to 5 do
if studentnames[i]="Anna" then
Dispay name
Exit for
end if
End for
Stop
Step 1: index =0, name ="Rob"
Step 2: index =1, name ="Anna"
Comments
Leave a comment