aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt
diff options
context:
space:
mode:
authortafaar <[email protected]>2022-10-18 14:51:01 -0700
committertafaar <[email protected]>2022-10-18 14:51:01 -0700
commit4301cea17413dee65743899e0cdf96d9f491d9fa (patch)
tree945c5ffe55c8dd8adbb78b81671180a13a9699cf /CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt
parentfinished (diff)
downloadcst116-ch9-debugging-hill-4301cea17413dee65743899e0cdf96d9f491d9fa.tar.xz
cst116-ch9-debugging-hill-4301cea17413dee65743899e0cdf96d9f491d9fa.zip
edited declaration of printresults
Diffstat (limited to 'CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt')
-rw-r--r--CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt b/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt
new file mode 100644
index 0000000..6fb6924
--- /dev/null
+++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt
@@ -0,0 +1,15 @@
+Please enter your age: 20
+20! Boy are you old!
+Did you know that you are at least 7300 days old?
+
+//
+
+FLOWCHART ->
+
+SET CONSTANT INT DAYS_PER_YEAR TO 365;
+
+DECLARE FUNCTIONS:
+ int GetAge();
+ int CalcDays(int age);
+ void PrintResults(int days, age);
+ \ No newline at end of file