diff options
| author | levidavis04 <[email protected]> | 2022-10-12 18:14:12 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-12 18:14:12 -0700 |
| commit | 5d786bfec01a2c96ffe9b1f26253e6d88f570a29 (patch) | |
| tree | 94534e5065c0a23ada43d60a42953ee8994ba6c0 /CST116-ch7-Debug-PSEUDOCODE-Davis.rtf | |
| parent | Setting up GitHub Classroom Feedback (diff) | |
| download | cst116-ch7-debugging-levidavis04-5d786bfec01a2c96ffe9b1f26253e6d88f570a29.tar.xz cst116-ch7-debugging-levidavis04-5d786bfec01a2c96ffe9b1f26253e6d88f570a29.zip | |
Add files via upload
Diffstat (limited to 'CST116-ch7-Debug-PSEUDOCODE-Davis.rtf')
| -rw-r--r-- | CST116-ch7-Debug-PSEUDOCODE-Davis.rtf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/CST116-ch7-Debug-PSEUDOCODE-Davis.rtf b/CST116-ch7-Debug-PSEUDOCODE-Davis.rtf new file mode 100644 index 0000000..424a747 --- /dev/null +++ b/CST116-ch7-Debug-PSEUDOCODE-Davis.rtf @@ -0,0 +1,28 @@ +{\rtf1\ansi\ansicpg1252\cocoartf2639 +\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +\margl1440\margr1440\vieww11520\viewh8400\viewkind0 +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 + +\f0\fs24 \cf0 Pseudo Code\ +\ +Set age to 0\ +\ +Print \'93Enter your age: \'93\ +User entry = age\ +\ +If age = 1\ + Print \'93First Birthday\'94\ +Else if age < 12 and > 1\ + Print \'93Child\'94\ +Else if age >= 12 and <=19\ + Print \'93Teenager\'94\ +Else if age > 62\ + Print \'93Senior\'94\ +\ +Else \ + Print \'93Adult\'94\ +\ +Return age = 0\ +}
\ No newline at end of file |