aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Crombie-pseudo-code.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch7-Crombie-pseudo-code.txt')
-rw-r--r--CST116-Ch7-Crombie-pseudo-code.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CST116-Ch7-Crombie-pseudo-code.txt b/CST116-Ch7-Crombie-pseudo-code.txt
new file mode 100644
index 0000000..b47101c
--- /dev/null
+++ b/CST116-Ch7-Crombie-pseudo-code.txt
@@ -0,0 +1,13 @@
+Set age equal to 0
+Display "Enter your age: "
+Input age
+If age is equal to 1
+ Display "First Birthday"
+If age is between 12 and 19
+ Display "Teenager"
+If age is under 12 but not equal to 1
+ Display "Child"
+If age is greater than 62
+ Display "Senior"
+If age is not a value that falls into another condition
+ Display "Adult" \ No newline at end of file