diff options
| author | JonCr <[email protected]> | 2022-10-12 18:22:38 -0700 |
|---|---|---|
| committer | JonCr <[email protected]> | 2022-10-12 18:22:38 -0700 |
| commit | 6c1622282af965a4b7d32fd5f4da0909daca376b (patch) | |
| tree | d4239d854aac0a88abbfd7cfb44f94ec0e44bce0 /CST116-Ch7-Crombie-pseudo-code.txt | |
| parent | Setting up GitHub Classroom Feedback (diff) | |
| download | cst116-ch7-debugging-cognitiveshadow-main.tar.xz cst116-ch7-debugging-cognitiveshadow-main.zip | |
Diffstat (limited to 'CST116-Ch7-Crombie-pseudo-code.txt')
| -rw-r--r-- | CST116-Ch7-Crombie-pseudo-code.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CST116-Ch7-Crombie-pseudo-code.txt b/CST116-Ch7-Crombie-pseudo-code.txt new file mode 100644 index 0000000..b47101c --- /dev/null +++ b/CST116-Ch7-Crombie-pseudo-code.txt @@ -0,0 +1,13 @@ +Set age equal to 0 +Display "Enter your age: " +Input age +If age is equal to 1 + Display "First Birthday" +If age is between 12 and 19 + Display "Teenager" +If age is under 12 but not equal to 1 + Display "Child" +If age is greater than 62 + Display "Senior" +If age is not a value that falls into another condition + Display "Adult"
\ No newline at end of file |