package com.company; public class Main { public static void main(String[] args) { // write your code here int fahr=100; int celsius=5*(fahr-32)/9; System.out.println("fahr="+fahr+",celsius="+celsius); } }
实验2-1-1 计算摄氏温度
猜你喜欢
转载自www.cnblogs.com/zhuzehua/p/9669149.html
今日推荐
周排行