blob: ca84ae7dacb3efa6b13f20c5ddb38c0a58096fe0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Start Program
Set age as 0
Ask user for their age
Set user input as age
Check if the user's age is equal to 0
If so, say "First Birthday"
if not, then check if they are between the ages of 12 and 19
If so, then say they are a Teenager
if not, then check if they are under 12
If so, then say they are a Child
if not, then check if they are above the age of 62
If so, then say they are a Senior
if none of these
Then say that they are an Adult
End Program
|