aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Crombie-pseudo-code.txt
diff options
context:
space:
mode:
authorJonCr <[email protected]>2022-10-12 18:22:38 -0700
committerJonCr <[email protected]>2022-10-12 18:22:38 -0700
commit6c1622282af965a4b7d32fd5f4da0909daca376b (patch)
treed4239d854aac0a88abbfd7cfb44f94ec0e44bce0 /CST116-Ch7-Crombie-pseudo-code.txt
parentSetting up GitHub Classroom Feedback (diff)
downloadcst116-ch7-debugging-cognitiveshadow-main.tar.xz
cst116-ch7-debugging-cognitiveshadow-main.zip
FinishedHEADmain
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