文件名称:Assignment-1
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-11-01
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- N***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Wind Chill. Given the temperature t (in Fahrenheit) and the wind speed v (in miles per hour), the US National Weather Service defines the effective temperature
(the wind chill) to be:
w = 35.74 + 0.6215t + (0.4275 t - 35.75)v 0.16
Write a program that takes two double command-line arguments t and v and prints out the wind chill. Note: The formula is not valid if t is larger than 50
in absolute value or if v is larger than 120 or less than 3. You may assume that the values you get are in the range.
Important: Your program must have a single public class called WindChill, which contains the main method as per the following template:
(the wind chill) to be:
w = 35.74 + 0.6215t + (0.4275 t - 35.75)v 0.16
Write a program that takes two double command-line arguments t and v and prints out the wind chill. Note: The formula is not valid if t is larger than 50
in absolute value or if v is larger than 120 or less than 3. You may assume that the values you get are in the range.
Important: Your program must have a single public class called WindChill, which contains the main method as per the following template:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
StdGaussian.java
ThreeSortUsingMinMax.java
WindChill.java
wind_chill.txt