aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt
blob: e7ffd50aa0aa7aa76c292abb783e9ba56682fa81 (plain) (blame)
1
2
3
4
5
6
7
1) Initialize a new int 'age' to be 0
2) Get the user's age
3) If their age is 1, output "First Birthday"
4) If their age is between 12 and 19, output "Teenager"
5) If their age is less than 12, output "Child"
6) If their age is greater than 62, output "Senior"
7) If their age doesn't meet any prior requirements, output "Adult"