From faf08ec021d2c289bcbb811b094206f8f1e30f55 Mon Sep 17 00:00:00 2001 From: Bold Demchig Date: Wed, 12 Oct 2022 21:07:00 -0700 Subject: Here is my pseudocode for Ch7-debugging --- CST116-Ch7-Debugging/CST116-Ch7-Debugging-Batbold-pseudocode.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CST116-Ch7-Debugging/CST116-Ch7-Debugging-Batbold-pseudocode.txt (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging-Batbold-pseudocode.txt') 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”. -- cgit v1.2.3