CS 140 - Homework 2 - Due Thursday Sep 11


Write a Java program in a class named HW2 that calculates the wind chill temperature W given the current temperature t and the wind velocity v. The current temperature and the wind velocity should be entered by the user. Use the following formula to calculate wind chill.

W = 35.74 + 0.6215t + (0.4275t - 35.75)v0.16

Here is example output of my wind chill program.

   Enter temperture (F): 32
   Enter wind velocity (MPH): 10
   
   The wind chill for 32.0 degrees with a 
   wind velocity of 10.0 MPH is 23.7 degrees.