aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt')
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt
new file mode 100644
index 0000000..5a1816d
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt
@@ -0,0 +1,7 @@
+DISPLAY "Enter your age:"
+SET age = INPUT
+IF age is 1, DISPLAY "First Birthday" and stop
+IF age is less than 12, DISPLAY "Child" and stop
+IF age is between 12 and 19, DISPLAY "Teenager" and stop
+IF age is more than 62, DISPLAY "Senior"
+DISPLAY "Adult" and stop \ No newline at end of file