aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging
diff options
context:
space:
mode:
authorTaylor Rogers <[email protected]>2022-10-08 15:28:05 -0700
committerTaylor Rogers <[email protected]>2022-10-08 15:28:05 -0700
commit30786e4a8104b1e43a830f848d2d963c059a6b35 (patch)
tree71d2f356075846dfaead12d028fa389935c4185b /CST116-Ch7-Debugging
parentAdded output text file. (diff)
downloadcst116-ch7-debugging-taylorrog-main.tar.xz
cst116-ch7-debugging-taylorrog-main.zip
finished pseudo-codeHEADmain
Diffstat (limited to 'CST116-Ch7-Debugging')
-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