aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt
diff options
context:
space:
mode:
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