1. opening a door and entering a room.
Go to door
turn handle
push door
and enter room.
turn handle
push door
and enter room.
2. Negotiating traffic lights as you drive down a street.
-
In your algorithm write each step of the process on a new line. Remember not to assume the computer knows anything.
No comments:
Post a Comment