2013年1月13日
摘要: public class Exercise2_1 { //将摄氏温度转换为华氏温度。 public static void main(String[] args){ java.util.Scanner input = new java.util.Scanner(System.in); System.out.print("Enter a temperature in Celsius: "); double celsius = input.nextDouble(); double fahrenheit = (9.0 / 5) * c... 阅读全文
posted @ 2013-01-13 23:00 bailun 阅读(3037) 评论(7) 推荐(1) 编辑