aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt
diff options
context:
space:
mode:
authorHannah Wu <[email protected]>2022-10-11 23:09:36 -0700
committerHannah Wu <[email protected]>2022-10-11 23:09:36 -0700
commitec7f765cc512d0b66533ed476ce2da202d16bdc2 (patch)
tree1422e4155b822f58b670ba4d1a3c4d360024613d /CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt
parentFixed main errors. Added pseudocode file. Added output text file. (diff)
downloadcst116-ch7-debugging-wu-main.tar.xz
cst116-ch7-debugging-wu-main.zip
UpdatesHEADmain
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt')
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt b/CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt
new file mode 100644
index 0000000..47c71cf
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt
@@ -0,0 +1,11 @@
+IF input=!0 THEN SET input=AGE
+IF AGE = 1
+ PRINT "First Birthday"
+ELSE IF AGE >= 12 AND <=19
+ PRINT "Teenager"
+ELSE IF AGE <=12 AND >=1
+ PRINT "Child"
+ELSE IF AGE >= 62
+ PRINT "Senior"
+ELSE IF AGE >= 18 AND AGE <= 62
+ PRINT "Adult" \ No newline at end of file