diff options
| author | Wyatt <[email protected]> | 2022-12-02 11:41:42 -0800 |
|---|---|---|
| committer | Wyatt <[email protected]> | 2022-12-02 11:41:42 -0800 |
| commit | 5e4b060bda36e689369ee6497b0f57315f45b396 (patch) | |
| tree | 76f42ace9c140e823388045066d454f78f80cdbd /cst116-ch7-debugging-johnson-Psuedocode.txt | |
| parent | Setting up GitHub Classroom Feedback (diff) | |
| download | cst116-ch7-debugging-johnson-main.tar.xz cst116-ch7-debugging-johnson-main.zip | |
Diffstat (limited to 'cst116-ch7-debugging-johnson-Psuedocode.txt')
| -rw-r--r-- | cst116-ch7-debugging-johnson-Psuedocode.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cst116-ch7-debugging-johnson-Psuedocode.txt b/cst116-ch7-debugging-johnson-Psuedocode.txt new file mode 100644 index 0000000..cf01cbe --- /dev/null +++ b/cst116-ch7-debugging-johnson-Psuedocode.txt @@ -0,0 +1,11 @@ +age = 0; +ask user for age; +set age to user input; + +if age = 1, output first birthday, +else if age is between 12 and 19, output teenager, +else if age is less than 12, output child, +else if age is greater than 62, output senior, +else output adult. + +return 0
\ No newline at end of file |