Question: Need help with step by step C++ program Write a C+ program to calculate the heat index (heatIndex) in degrees given the relative humidity in

Need help with step by step C++ program
Need help with step by step C++ program Write a C+ program

Write a C+ program to calculate the heat index (heatIndex) in degrees given the relative humidity in percent and the temperature in degrees Fahrenheit up to two decimal point in precision. Your program should ask the user to enter the temperature (temp) and relative humidity (relHumidity). First heat index is computed from following formula: heatIndex=0.5[temp+61.0+(temp68)1.2+relHumidity0.094]; If the calculated heat index is above 80 degrees, your program should recalculate the heat index using following formula: heatIndex =42.379+[2.04901523 temp ]+[10.14333127 relHumidity ] [0.22475541*temp* relHumidity] - [0.00683783*temp*temp] - [0.05481717*relHumidity*relHumidity] +[0.00122874 temp*temp*relHumidity ]+[0.00085282 temp*relHumidity*relHumidity ] [0.00000199*temp*temp*relHumidity*relHumidity]; After computing heat index, your program should print the likelihood of a heat related health disorder given the value of the heat index. Visit www.nws.noaa.gov/om/heat/heat index.shtml for information. Test your program for following inputs. Run the program to print the results. Report your work, including your compiled program, and screen output results

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!