aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt
diff options
context:
space:
mode:
authorjacobdw22 <[email protected]>2022-10-05 16:48:28 -0700
committerjacobdw22 <[email protected]>2022-10-05 16:48:28 -0700
commit305a7701cc673e954fc8882afa1d4192e47dee38 (patch)
tree5c854dfcd2a9cddb8495f02806e8949bba41585d /CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt
parentsimple changes (diff)
downloadcst116-ch7-debugging-jacobdw22-main.tar.xz
cst116-ch7-debugging-jacobdw22-main.zip
final changesHEADmain
Diffstat (limited to 'CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt')
-rw-r--r--CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt b/CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt
new file mode 100644
index 0000000..35efba1
--- /dev/null
+++ b/CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt
@@ -0,0 +1,7 @@
+Display "Enter your age: ";
+Read age;
+If age = 1, display "First Birthday";
+If age >= 12 and age <= 19, display "Teenager";
+If age < 12, display "Child";
+If age > 62, display "Senior";
+Else, display "Adult"; \ No newline at end of file