diff options
Diffstat (limited to 'Ch. 5 Pseudo-code.rtf')
| -rw-r--r-- | Ch. 5 Pseudo-code.rtf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Ch. 5 Pseudo-code.rtf b/Ch. 5 Pseudo-code.rtf new file mode 100644 index 0000000..87c0f11 --- /dev/null +++ b/Ch. 5 Pseudo-code.rtf @@ -0,0 +1,19 @@ +{\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\ +\ +Money = 123.45\ +Print \'93You have $\'94\ +Print \'93Enter percent raise: \'93\ +User input = raise\ +\ +Money = money * raise\ +\ +Print \'93After your raise you have << money <<\'93\ +\ +Money = 0}
\ No newline at end of file |