From a85938e1499ec57eaeee1ca17b5dfcc552ac3217 Mon Sep 17 00:00:00 2001 From: Trevor Bouchillon <114636206+DaBoochillin@users.noreply.github.com> Date: Sun, 16 Oct 2022 15:53:17 -0700 Subject: Add files via upload --- Pseudocode for Ch9 Debugging.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Pseudocode for Ch9 Debugging.txt diff --git a/Pseudocode for Ch9 Debugging.txt b/Pseudocode for Ch9 Debugging.txt new file mode 100644 index 0000000..745a723 --- /dev/null +++ b/Pseudocode for Ch9 Debugging.txt @@ -0,0 +1,12 @@ +Define function getage +display "Please enter your age: " +store input into variable age + +define days as output from function calcdays +move to function calcdays +define variable days as an integer +set days equal to years * days in a year (365) + +move to function print results +display age and "! Boy you are old!" +display "Did you know that you are at least ", days, " days old?" -- cgit v1.2.3