public class Main {
public static void main(String[] arguments) {
float fah = 86;
System.out.println(fah + " degrees Fahrenheit is ...");// 来 自 时代Java公众号 - N o w J a v a . c o m
// To convert Fahrenheit into Celsius begin by subtracting 32
fah = fah - 32;
// Divide the answer by 9
fah = fah / 9;
// Multiply that answer by 5
fah = fah * 5;
System.out.println(fah + " degrees Celsius\n");
float cel = 33;
System.out.println(cel + " degrees Celsius is ...");
// To convert Celsius into Fahrenheit begin by multiplying by 9
cel = cel * 9;
cel = cel / 5; // Divide the answer by 5
/*
/**代码未完, 请加载全部代码(NowJava.com).**/
本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。