解题思路:
注意事项:
参考代码:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double a = scanner.nextInt();
double f=(a-32)*5/9;
System.out.println(String.format("%.2f", f));
}
}
0.0分
0 人评分