Algorithm:Plucking Beansprouts Tail
start
take one beansprout at a time from plastic bag
repeat if nothing goes wrong
if accidentally pick up 2 or more beansprouts hold it until u have at least 4 beansprouts in your hand
pluck the tails off
dispose the tails into the plastic bag
put the tailless beansprouts inside bowl…
repeat until no more beansprouts inside plastic bag
end
In Semi Syntax;
Repeat if beansprouts are picked
then pluck the tails off
Else put the tailless beansprouts into bowl
End repeat
If beansprouts are finished
then stopped plucking
end if
_____________________________________________________________________________________________
…done…
Filed under: Authoring