From 4ad19db8e859b631b0347ffabfe4c5911ca45e53 Mon Sep 17 00:00:00 2001 From: TheOtherTonyStark Date: Sun, 9 Oct 2022 15:23:16 -0700 Subject: Final Changes --- CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt | 12 ++++++++++++ CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj | 1 + CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt (limited to 'CST116-Ch7-Debugging') diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt new file mode 100644 index 0000000..6b1ba61 --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt @@ -0,0 +1,12 @@ +Set "Age" to 0 +Ask user for age input +Take user input and compare against "First Birthday" + If age = 1, Print First Birthday +Next compare against "Teenager" + If 12 > age >19, Print Teenager +Next compare against "Child" + If age < 12, Print Child +Next compare against "Senior" + If age > 62, Print Senior +Finally, compare against "Adult" + If 19 < age < 62, Print Adult \ No newline at end of file diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj index 559729a..18d87b7 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj @@ -132,6 +132,7 @@ + diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters index 3b7b647..1d241c2 100644 --- a/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging.vcxproj.filters @@ -23,5 +23,8 @@ Source Files + + Source Files + \ No newline at end of file -- cgit v1.2.3