aboutsummaryrefslogtreecommitdiff
path: root/Ch. 5 Pseudo-code.rtf
blob: 87c0f118ac90e27433ad043554a1a66f951331e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}