aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt
blob: 19e514c14d16035d67ff5ac7c7a2f562eab3b880 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Under main
set and place age and days as 0
age is equal to GetAge function
under GetAge
set age
output "please enter your age: "
input age
return age
days is equal to CalcDays(age)
under CalcAge (set years)
set days
days is equal to years*days per year (365)
return days
Printresults(day and age)
under PrintResults
output age with "! Boy are you old!"
new line
output "did you know that you are at least " with days with "days old?"
new line
dont return