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.
Math.pow(x,y). For example, to calculate
(3.14159)7 we can write Math.pow(3.14159,7).
To calculate (a+b)(c+d) we write
Math.pow(a+b,c+d) assuming that a, b, c, d
were variables that existed in the program.
HW2.
HW2.java as an attachment with a
subject heading of HW2 before the beginning of class on Thursday
Nov 11.