Question: In java For temperatures between -58 F and +41 F and wind speeds >= 2 miles per hour the NWS reports the wind chill temperature.
In java For temperatures between -58 F and +41 F and wind speeds >= 2 miles per hour the NWS reports the wind chill temperature. They calculate it via the formula wc = 35.74 + 0.6215 * t - 35.75 * v^0.16 + 0.4275 * t * v^0.16 Where wc is the wind chill temperature, t is the actual temperature, and v is the wind speed. Use this formula to write a wind chill calculator: Prompt for a temperature and wind speed in the valid ranges. (That's a courtesy to the user) Validate the input is in the valid range. (So we don't calculate nonsense) Calculate and report the wind chill. Hint: You will want to use the Math class, specifically the Math.pow(a, b) function to calculate a^b.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
