From 88ef655a6ef739795664b9be1d80e631da185335 Mon Sep 17 00:00:00 2001 From: CEOofOogaBooga Date: Tue, 18 Oct 2022 21:39:53 -0700 Subject: Chp9 Finished --- CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt (limited to 'CST116-Ch9-Debugging/CST116 Pseudo Code Ch9.txt') 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 -- cgit v1.2.3