3.19上机练习3

//50转华氏温度
        int h=50;   //定义华氏温度为50
        int s;      //定义摄氏度
        s=(h-32)*5/9;//转换算式
        System.out.println(s);

猜你喜欢

转载自www.cnblogs.com/F-dl/p/12522919.html