blob: 19668e3645e1efbc4359a2781d0c22d61f86ba25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
ask use if using celcius, if yes, they will type yes. Store whether they are in a bool.
while float temp is outside the defined bounds of celcius and ferenheit, as user to input a value. set temp to the input.
if ferenheit is false, convertValueToFerenheit(temp)
while wind_speed is outside the defined bounds of windspeed, as user to input a value, set wind_speed to input.
outputData(temp, wind_speed, calculateWindChill(temp, wind_speed));
return
|