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