blob: 9d865895d7849f6ee2dba2c9ce63d174e7b38fee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Before you input a temperature value, you must first determine if it's in fahrenheit or celsius.
Please input 'F' for fahrenheit or 'C' for celsius: cheese
That input is invalid.
Make sure your input is capitalized.
Please input 'F' for fahrenheit or 'C' for celsius: C
Now please input a temperature between the range -61 to 49.5: -28.889
Now please input a wind speed between the range 0 to 231: 30
The temperature in fahrenheit is -20.0002 degrees.
The wind speed is 30mph.
The wind chill is -53.0287.
C:\Users\cowpi\Source\Repos\cst116-lab2-Smith-Benjamin\x64\Debug\BlankConsoleLab.exe (process 17976) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
|