Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C + + How cold is it outside? The temperature alone is not enough to provide the answer. Other factors including wind speed, relative humidity,
C
How cold is it outside? The temperature alone is not enough to provide the answer. Other factors including wind speed, relative humidity, and sunshine play important roles in determining coldness outside. In the National Weather Service NWS implemented the new windchill
temperature to measure the coldness using temperature and wind speed. The formula is given as follows:
where is the outside temperature measured in degrees Fahrenheit and is the speed measured in miles per hour. is the windchill temperature. The formula cannot be used for wind speeds below or for temperatures below or above
Write a program that prompts the user to enter a temperature between and and a wind speed greater than or equal to and displays the windchill temperature.
Here is a sample run:
Enter the temperature in Fahrenheit between and :
Enter the wind speed miles per hour must be greater than or equal to :
The wind chill index is
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