aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ch9-Debugging Psuedocode.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/Ch9-Debugging Psuedocode.txt b/Ch9-Debugging Psuedocode.txt
new file mode 100644
index 0000000..76093de
--- /dev/null
+++ b/Ch9-Debugging Psuedocode.txt
@@ -0,0 +1,38 @@
+Main Program Begins
+
+integers age and days are introduced.
+
+age is assigned to the function GetAge
+
+days is assigned to the function CalcDays
+
+Function GetAge is introduced
+
+age variable is introduced in the function GetAge
+
+A prompt is printed to indicate the user to type their age
+User inputs an age
+
+the new user value of age is returned to the main program
+
+End of Function GetAge
+
+Function CalcDays is introduced
+
+days variable is introduced to the function CalcDays
+
+days variable is assigned to a calculation(years * Day in a year)
+
+Result from the days value return to the main function
+
+Function PrintResulted is introduced
+
+Print the age of the user
+
+Print how old they are in days.
+
+End of Program.
+
+
+
+