虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

您现在的位置是:虫虫下载站 > 资源下载 > Java编程 > Implement the following integer methods: a) Method celsius returns the Celsius equivalent of a Fahr

Implement the following integer methods: a) Method celsius returns the Celsius equivalent of a Fahr

  • 资源大小:2 K
  • 上传时间: 2014-01-19
  • 上传用户:haoding306
  • 资源积分:2 下载积分
  • 标      签: equivalent Implement the following

资 源 简 介

Implement the following integer methods: a) Method celsius returns the Celsius equivalent of a Fahrenheit calculation celsius = 5.0 / 9.0 * ( fahrenheit - 32 ) b) Method fahrenheit returns the Fahrenheit equivalent of a Celsius the calculation fahrenheit = 9.0 / 5.0 * celsius + 32 c) Use the methods from parts (a) and (b) to write an application either to enter a Fahrenheit temperature and display the Celsius or to enter a Celsius temperature and display the Fahrenheit equivalent.

相 关 资 源

您 可 能 感 兴 趣 的