08:温度表达转化 📅 2026/7/28 10:22:55 /** * 题目名称温度表达转化 p * 题目来源http://noi.openjudge.cn/ch0103/08/ p * 程序功能根据华氏温度输出对应的摄氏温度 * * author 潘磊just_panleijust.edu.cn * version 1.0 */importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){ScannerinputnewScanner(System.in);doublefahrenheitinput.nextDouble();// 华氏温度doubleans5*(fahrenheit-32)/9;// 计算对应的摄氏温度System.out.printf(%.5f,ans);// 保留5位小数输出结果}}