aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt b/CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt
new file mode 100644
index 0000000..ec6c88d
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116-Ch7-traver-pseudo-code.txt
@@ -0,0 +1,24 @@
+print:
+ Enter your age
+
+input = age
+
+if age = 1
+ then
+ print: First Birthday
+
+else if age >= 12 and <= 19
+ then
+ print: Teenager
+
+else if age < 12
+ then
+ print: Child
+
+else if age > 62
+ then
+ print: Senior
+
+else
+ print: Adult
+ \ No newline at end of file