blob: 19ea2727a48b31047888dc7a6eaf790f4502838e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
Ch7 pseudocode
1. Set age equal to 0.
2. Prompt age.
3. Input age.
4. If age equal to 1, print out �First Birthday�.
5. If age equal or less than 12 and equal to or less than 19, print out �Teenager�.
6. If age less than 12, print out �Child�.
7. If age greater than 62, print out �Senior�.
8. OR print out �Adult�.
|