Question: *Please use c++ as only coding language* 4. Write a function to compute and display the wind chill when the temperature is 50 F or

*Please use c++ as only coding language* *Please use c++ as only coding language* 4. Write a function to

4. Write a function to compute and display the wind chill when the temperature is 50 F or below This wind chill function will need the temperature in Fahrenheit as a parameter. It will need to ask the user to input the wind speed (Extra credit if you CALL the function (6. Below) to read in the wind speed while checking for input failure (e.g. entering char values instead of real numbers)), but this can be done from inside the function. You probably know that the wind chill factor is the perceived temperature when both temperature and wind speed are taken into account, so your function will need to ask the user for the wind speed. The input to the function for determining the wind-chill is the temperature in Fahrenheit and the function prints all the output, so no value is returned. The formula for determining the wind chill factor is: windchill = 35.744(0.6215%)-(35.75 *(w"16))-(0.4275 *t*(w016 where )) t = temperature in Fahrenheit w= wind speed in miles per hour Important Note: Wind Chill Temperature is only defined for temperatures at or below 50 degrees Fand for wind speeds above 3 mph. You will need to use the pow0 function from the cmath library to raise the wind speed (w) to the correct power

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!