aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt
diff options
context:
space:
mode:
authorCEOofOogaBooga <[email protected]>2022-10-18 21:39:53 -0700
committerCEOofOogaBooga <[email protected]>2022-10-18 21:39:53 -0700
commit88ef655a6ef739795664b9be1d80e631da185335 (patch)
tree507b1a881e4667d7e0a2a663ba7e0a4c9e1afe35 /CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt
parentEntered Width and Length (diff)
downloadcst116-ch9-debugging--trinh--main.tar.xz
cst116-ch9-debugging--trinh--main.zip
Chp9 FinishedHEADmain
Diffstat (limited to 'CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt')
-rw-r--r--CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt b/CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt
new file mode 100644
index 0000000..19e514c
--- /dev/null
+++ b/CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt
@@ -0,0 +1,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 \ No newline at end of file