From 4301cea17413dee65743899e0cdf96d9f491d9fa Mon Sep 17 00:00:00 2001 From: tafaar Date: Tue, 18 Oct 2022 14:51:01 -0700 Subject: edited declaration of printresults --- CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt (limited to 'CST116-Ch9-Debugging/CST116-Ch9-Debugging-Flowchart.txt') 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 -- cgit v1.2.3