diff options
| author | Joseph Williams <[email protected]> | 2022-10-05 16:47:53 -0700 |
|---|---|---|
| committer | Joseph Williams <[email protected]> | 2022-10-05 16:47:53 -0700 |
| commit | fb730579b658b02474d622bfa3fcb31e31528c4a (patch) | |
| tree | c5b324b850588daad3522f5a790c561d8e480d6b /CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt | |
| parent | added run file (diff) | |
| download | cst116-ch7-debugging-allthenamesaretaken3141-main.tar.xz cst116-ch7-debugging-allthenamesaretaken3141-main.zip | |
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-Debugging-Williams-PSEUDOCODE.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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 |