Windchillold = 0.081 x (3.71 x Öv + 5.81 - 0.25 x v) x (t - 91.4) + 91.4
Windchillnew = 35.74 + 0.6215 t - 35.75(v0.16) + 0.4275T(v0.16)
where v is the wind speed in MPH, and t is the temperature in Fahrenheit.
i need to write a C++ program that will create wind chill charts for a given temperature. the program should display the following menu to the user and prompts for his/her choice:
O: Display old wind chill index chart
N: Display new wind chill index chart
C: Compare old and new wind chill index charts
If the user enters 'o' or 'O', then the program should ask the user for a temperature (in degrees F) and then display the old wind chill values for wind speeds from 0 to 50 mph in increments of 5 mph. It is assumed that the user will enter a temperature value between –40 and 40.
If the user enters 'n' or 'N', then the program should ask the user for a temperature (in degrees F) and then display the new wind
I need help with a C+ loop based program!!!?
This sounds like homework to me. Please tell me it's not: I'd be horrified to know there are still schools that corrupt a student's brain by not teaching metrics.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment