- Algorithm on everyday life
Re-write in semi-syntax:
If writing notes then
open the note book and
repeat if there are still notes to write
if the pencil lead breaks then
click until a new lead comes out
else if
no more lead in the pencil then
put in a new lead and continue writing
(end repeat)
else if
finish writing, close the note book
end if
