From fb730579b658b02474d622bfa3fcb31e31528c4a Mon Sep 17 00:00:00 2001 From: Joseph Williams Date: Wed, 5 Oct 2022 16:47:53 -0700 Subject: added pseudocode --- CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt') diff --git a/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt new file mode 100644 index 0000000..5a1816d --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt @@ -0,0 +1,7 @@ +DISPLAY "Enter your age:" +SET age = INPUT +IF age is 1, DISPLAY "First Birthday" and stop +IF age is less than 12, DISPLAY "Child" and stop +IF age is between 12 and 19, DISPLAY "Teenager" and stop +IF age is more than 62, DISPLAY "Senior" +DISPLAY "Adult" and stop \ No newline at end of file -- cgit v1.2.3