diff options
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging-Batbold-pseudocode.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Batbold-pseudocode.txt b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Batbold-pseudocode.txt new file mode 100644 index 0000000..19ea272 --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Batbold-pseudocode.txt @@ -0,0 +1,9 @@ +Ch7 pseudocode +1. Set age equal to 0. +2. Prompt age. +3. Input age. +4. If age equal to 1, print out �First Birthday�. +5. If age equal or less than 12 and equal to or less than 19, print out �Teenager�. +6. If age less than 12, print out �Child�. +7. If age greater than 62, print out �Senior�. +8. OR print out �Adult�. |