aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/CST116 Ch7 pseudo code.txt
diff options
context:
space:
mode:
authorCEOofOogaBooga <[email protected]>2022-10-12 11:00:20 -0700
committerCEOofOogaBooga <[email protected]>2022-10-12 11:00:20 -0700
commitf9196f7506c7a92407c3540cd3fbb62edd80b417 (patch)
tree77eb18cae6763de93c34d7bc11ea8e2e5cf9019c /CST116-Ch7-Debugging/CST116 Ch7 pseudo code.txt
parentSetting up GitHub Classroom Feedback (diff)
downloadcst116-ch7-debugging--trinh--f9196f7506c7a92407c3540cd3fbb62edd80b417.tar.xz
cst116-ch7-debugging--trinh--f9196f7506c7a92407c3540cd3fbb62edd80b417.zip
CH7 Finished
Diffstat (limited to 'CST116-Ch7-Debugging/CST116 Ch7 pseudo code.txt')
-rw-r--r--CST116-Ch7-Debugging/CST116 Ch7 pseudo code.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116 Ch7 pseudo code.txt b/CST116-Ch7-Debugging/CST116 Ch7 pseudo code.txt
new file mode 100644
index 0000000..51e49bd
--- /dev/null
+++ b/CST116-Ch7-Debugging/CST116 Ch7 pseudo code.txt
@@ -0,0 +1,10 @@
+Under main
+set and place age as 0
+output "Enter your age: "
+input age
+if age is equal to 1, output "First Birthday"
+if age is less than 12, output "Child"
+if age is greater than or equal to 12
+and less than or equal to 19, output "Teenager"
+if age is greater than 62, output "Senior"
+if age is outside those groups, output "Adult" \ No newline at end of file