aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt
diff options
context:
space:
mode:
authorTheOtherTonyStark <[email protected]>2022-10-09 15:23:16 -0700
committerTheOtherTonyStark <[email protected]>2022-10-09 15:23:16 -0700
commit4ad19db8e859b631b0347ffabfe4c5911ca45e53 (patch)
treef6d18861e4dd2bda1fc6fb6f3aaae7288714308b /CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt
parentThird Changes (diff)
downloadcst116-ch7-debugging-theothertonystark-main.tar.xz
cst116-ch7-debugging-theothertonystark-main.zip
Final ChangesHEADmain
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt')
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging-Psuedocode.txt12
1 files changed, 12 insertions, 0 deletions
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