summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/Program Output.txt
blob: 49f20f5bef646310e356936f51cca3114c50ba60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
CST116-Lab_2-joetraver-Program_output

Trial_1:

Enter temperature units Celcius or Fahrenheit (C/F): F

Enter the temperature in Fahrtenheit beteen -80 degrees & 121 degrees: -20

Enter wind speed between 0 MPH & 231 MPH: 30

Temperature is: -20 Degrees Fahrenheit

Wind speed is: 30 MPH

For -20 degrees F and 30 MPH, the windchill is: -53.0284


Trial_2:

Enter temperature units Celcius or Fahrenheit (C/F): C

Enter the temperature in Celcuius between -62 degrees & 49.5 degrees: 40

Enter wind speed between 0 MPH & 231 MPH: 5

Temperature is: 104 Degrees Fahrenheit

Wind speed is: 5 MPH

For 104 degrees F and 5 MPH, the windchill is: 111.644


Trial_3:

Enter temperature units Celcius or Fahrenheit (C/F): F

Enter the temperature in Fahrtenheit beteen -80 degrees & 121 degrees: 41

Enter wind speed between 0 MPH & 231 MPH: 100

Temperature is: 41 Degrees Fahrenheit

Wind speed is: 100 MPH

For 41 degrees F and 100 MPH, the windchill is: 23.1493


Error_Check:

Enter temperature units Celcius or Fahrenheit (C/F): d

ERROR: a F or C must be entered

Enter temperature units Celcius or Fahrenheit (C/F): c

Enter the temperature in Celcuius between -62 degrees & 49.5 degrees: -63

Temperature lies outside of accepted bounds

Enter the temperature in Celcuius between -62 degrees & 49.5 degrees: -50

Enter wind speed between 0 MPH & 231 MPH: -1

Wind speed lies outside of accepted bounds

Enter wind speed between 0 MPH & 231 MPH: 50

Temperature is: -58 Degrees Fahrenheit

Wind speed is: 50 MPH

For -58 degrees F and 50 MPH, the windchill is: -113.524