Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Qucstion 05 (3 points) How cold is it autside? The tempenture alone is not enough ta provide the answer, Oher factors including wind speed, relative
Qucstion 05 (3 points) How cold is it autside? The tempenture alone is not enough ta provide the answer, Oher factors including wind speed, relative harmidity, and sunshine play important roles in determining coldness putside. In 2n01, the National Weather Service (NWS) implemented the new wind-chill temperature to measare the coldness usiog temperature abd wind spoed. The formula is given as follows: twr=35.74+0.6215ta35.75v0.16+0.4275tav0.16 where 1 , is the sulside temperature messured in degrees Fahrenheit and v is the speed measured in miles per bour. txz is the wind-chill lemperature. The formula cannot be used far wind sneeds below 2mph or for temperatures below or above 41F. Write a program that prompts the user to enter a temperature berween 58F and 41F and a wind speed greater than or equal to 2 and displays the wind-chill temperuture rounded to two decimal places. Here is a sample run: Enter the temperature in Fuhrenheit between - 58 and 41:5.3 Enter the wind specd miles per hour (must be greater than or equal to 2 ): 6 The wind chill index is 5.57
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started