diff options
| -rw-r--r-- | CST116-Ch7-Debugging/cst116-ch7-debugging-wilson-pseudo-code.txt | 7 |
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 |