文件名称:Assignment-1
-
所属分类:
- 标签属性:
- 上传时间:2014-11-01
-
文件大小:1.73kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
ThreeSortUsingMinMax.java
WindChill.java
wind_chill.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.