REAL LIFE Application
Algorithm: Calling a friend on the telephone
Input: The telephone number of your friend.
Output: None
Steps:
Algorithm: Calling a friend on the telephone
Input: The telephone number of your friend.
Output: None
Steps:
- Pick up the phone and listen for a dial tone
- Press each digit of the phone number on the phone
- If busy, hang up phone, wait 5 minutes, jump to step 2
- If no one answers, leave a message then hang up
- If no answering machine, hang up and wait 2 hours, then jump to step 2
- Talk to friend
- Hang up phone