aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Bouchillon <[email protected]>2022-10-12 16:56:53 -0700
committerGitHub <[email protected]>2022-10-12 16:56:53 -0700
commit818852f3861284b4403c4daae432998c5a687bc9 (patch)
tree437ed7aeba96732fb6fd5800d5e5b724fe2772f7
parentAdded output text file (diff)
downloadcst116-ch7-debugging-daboochillin-main.tar.xz
cst116-ch7-debugging-daboochillin-main.zip
Add files via uploadHEADmain
-rw-r--r--Ch7 Pseudocode.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Ch7 Pseudocode.txt b/Ch7 Pseudocode.txt
new file mode 100644
index 0000000..d7d1357
--- /dev/null
+++ b/Ch7 Pseudocode.txt
@@ -0,0 +1,15 @@
+define age equal to 0
+
+display "Enter your age"
+input age
+
+if age is equal to 1
+display "First birthday"
+else if age is greater then or equal to 12 and age is less than or equal to 19
+display "Teenager"
+else if age is less than 12
+display "Child"
+else if age is greater than 62
+display "Senior"
+else
+display "Adult" \ No newline at end of file