aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/Ch7 Pseudocode.txt
blob: 1c62012e063c8101dd340b239d53896c25157b98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Ch. 7  Pseudocode

Begin
	When ran	
		Age = 0
Input
		Age = Your input
If Age:
		Is 1 = outputs "First Birthday
			Is below 12 = outputs "Child"
				Is between 13 and 19 = outputs "Teenager"
			Is between 19 and 62 = outputs "Adult"
else:
		output = "Senior"
End