diff options
| author | [email protected] <[email protected]> | 2022-10-12 14:19:50 -0700 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2022-10-12 14:19:50 -0700 |
| commit | afd1805ab09b9437a1e508c0a97d9a88ce440533 (patch) | |
| tree | 89ce43a22d14e28ec7e9468648285e91f3ff1f74 /CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt | |
| parent | Final Test (diff) | |
| download | cst116-ch7-debugging-smith-benjamin-main.tar.xz cst116-ch7-debugging-smith-benjamin-main.zip | |
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt b/CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt new file mode 100644 index 0000000..e7ffd50 --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-CH7-Smith-Pseudo-Code.txt @@ -0,0 +1,7 @@ +1) Initialize a new int 'age' to be 0 +2) Get the user's age +3) If their age is 1, output "First Birthday" +4) If their age is between 12 and 19, output "Teenager" +5) If their age is less than 12, output "Child" +6) If their age is greater than 62, output "Senior" +7) If their age doesn't meet any prior requirements, output "Adult"
\ No newline at end of file |