package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { // write your code here Scanner sc=new Scanner(System.in); int f=sc.nextInt(); int Celsius=5*(f-32)/9; System.out.println("Celsius="+Celsius); } }
实验2-2-2 计算摄氏温度
猜你喜欢
转载自www.cnblogs.com/zhuzehua/p/9670563.html
今日推荐
周排行