diff options
| author | Trevor Bouchillon <[email protected]> | 2022-10-12 16:56:53 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-12 16:56:53 -0700 |
| commit | 818852f3861284b4403c4daae432998c5a687bc9 (patch) | |
| tree | 437ed7aeba96732fb6fd5800d5e5b724fe2772f7 | |
| parent | Added output text file (diff) | |
| download | cst116-ch7-debugging-daboochillin-818852f3861284b4403c4daae432998c5a687bc9.tar.xz cst116-ch7-debugging-daboochillin-818852f3861284b4403c4daae432998c5a687bc9.zip | |
| -rw-r--r-- | Ch7 Pseudocode.txt | 15 |
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 |