summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/cst116-lab2-stark-psuedo-code.txt
blob: 51becea85836f0c83ac16dffeea21d3802c8af31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Trenton Stark
CST 116
Lab2 Psuedo code:

print "Welcome to Cold Calculator v1.0"

ask user if they would like to input in celcius or fahrenheit
if the user inputs f:
	input temperature into fTemp
	set cTemp to conversion into celcius

if the user inputs c:
	input temperature into cTemp
	set fTemp to conversion into fahrenheit

ask user for windspeed in mph and input into windS

set windC to the windchill with fTemp and windS

output cTemp, fTemp, windS, and windC in a table with header