diff options
| author | Taylor Rogers <[email protected]> | 2022-10-08 15:28:05 -0700 |
|---|---|---|
| committer | Taylor Rogers <[email protected]> | 2022-10-08 15:28:05 -0700 |
| commit | 30786e4a8104b1e43a830f848d2d963c059a6b35 (patch) | |
| tree | 71d2f356075846dfaead12d028fa389935c4185b /CST116-Ch7-Debugging | |
| parent | Added output text file. (diff) | |
| download | cst116-ch7-debugging-taylorrog-30786e4a8104b1e43a830f848d2d963c059a6b35.tar.xz cst116-ch7-debugging-taylorrog-30786e4a8104b1e43a830f848d2d963c059a6b35.zip | |
Diffstat (limited to 'CST116-Ch7-Debugging')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt b/CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt new file mode 100644 index 0000000..ccf21ce --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-ch7-Debugging-pseudo-Rogers.txt @@ -0,0 +1,9 @@ +1. initial age = 0 +2. print "Enter your age" +3. age = input +4. if age = 1, then print "First Birthday" +5. else if age between 12 and 19, then print "Teenager" +6. else if age less that 12, then print "Child" +7. else if age greater than 62, then print "Senior" +8. else print "Adult" +9. End
\ No newline at end of file |