aboutsummaryrefslogtreecommitdiff
path: root/CST116-Ch6.Debugging-PseudoCode-Davis.rtf
blob: 6b3c4a820aa4075d7cd336a23959d07f9b59e9b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{\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 PseudoCode\
\
Set Fahrenheit to 0\
Set Celcius to 0\
\
Print \'93Enter temperature in Fahrenheit: \'93\
User entry = Fahrenheit\
\
Celsius = 5.0 / 9.0 * (Fahrenheit - 32)\
\
Print \'93(user entry) degrees F = (Celsius) degrees C\'94}