aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt')
-rw-r--r--CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt b/CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt
new file mode 100644
index 0000000..ccf21ce
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt
@@ -0,0 +1,9 @@
+1. initial age = 0
+2. print "Enter your age"
+3. age = input
+4. if age = 1, then print "First Birthday"
+5. else if age between 12 and 19, then print "Teenager"
+6. else if age less that 12, then print "Child"
+7. else if age greater than 62, then print "Senior"
+8. else print "Adult"
+9. End \ No newline at end of file