diff options
| author | Hannah Wu <[email protected]> | 2022-10-11 23:09:36 -0700 |
|---|---|---|
| committer | Hannah Wu <[email protected]> | 2022-10-11 23:09:36 -0700 |
| commit | ec7f765cc512d0b66533ed476ce2da202d16bdc2 (patch) | |
| tree | 1422e4155b822f58b670ba4d1a3c4d360024613d /CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt | |
| parent | Fixed main errors. Added pseudocode file. Added output text file. (diff) | |
| download | cst116-ch7-debugging-wu-main.tar.xz cst116-ch7-debugging-wu-main.zip | |
Diffstat (limited to 'CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt')
| -rw-r--r-- | CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt b/CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt new file mode 100644 index 0000000..47c71cf --- /dev/null +++ b/CST116-Ch7-Debugging/CST116-Ch7-DebuggingPseudocode.txt @@ -0,0 +1,11 @@ +IF input=!0 THEN SET input=AGE +IF AGE = 1 + PRINT "First Birthday" +ELSE IF AGE >= 12 AND <=19 + PRINT "Teenager" +ELSE IF AGE <=12 AND >=1 + PRINT "Child" +ELSE IF AGE >= 62 + PRINT "Senior" +ELSE IF AGE >= 18 AND AGE <= 62 + PRINT "Adult"
\ No newline at end of file |