将华氏温度转换为摄氏温度 [英] Convert temperatures in fahrenheit to celsius

查看:86
本文介绍了将华氏温度转换为摄氏温度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我需要创建一个重复读取华氏温度的java程序,并将它们转换为摄氏温度,直到温度> 1。输入212 F(水的沸点)。


我的程序是:

展开 | 选择 | 换行 | 行号

解决方案

你有什么问题?


亲切的问候,


Jos


ps。下次发布代码时,出于可读性原因使用这些[code]标签。



您有什么问题?


亲切的问候,


Jos


ps。下次发布代码时,出于可读性原因使用这些[code]标签。



umm。我的问题是使用我已经发布的程序,你能不能修改那个程序,以便它可以读取华氏温度并将它们转换为摄氏温度直到温度> 1。输入212 F(水的沸点)。非常感谢您的回复。抱歉代码标签。



umm。我的问题是使用我已经发布的程序,你能不能修改那个程序,以便它可以读取华氏温度并将它们转换为摄氏温度直到温度> 1。输入212 F(水的沸点)。非常感谢您的回复。抱歉,代码标签。



您的计划有什么作用?请注意,整数除法不会做什么

人们期望它做什么。


亲切的问候,


Jos


Ok i need to create a java program that repeatedly read temperatures in Fahrenheit and convert them to Celsius until a temperature > 212 F (the boiling point of water) is entered.

My program is:

Expand|Select|Wrap|Line Numbers

解决方案

What is your question?

kind regards,

Jos

ps. use those [ code ] tags for readability reasons next time when you post code.


What is your question?

kind regards,

Jos

ps. use those [ code ] tags for readability reasons next time when you post code.


umm. my question is using the program that I have already posted, can you please modify that program so that it could read temperatures in Fahrenheit and convert them to Celsius until a temperature > 212 F (the boiling point of water) is entered. Thank you very much for replying. Sorry about the code tags.


umm. my question is using the program that I have already posted, can you please modify that program so that it could read temperatures in Fahrenheit and convert them to Celsius until a temperature > 212 F (the boiling point of water) is entered. Thank you very much for replying. Sorry about the code tags.

And what does your program do? Note that integer division does not do what
people expect it to do.

kind regards,

Jos


这篇关于将华氏温度转换为摄氏温度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆