七、编程序,输入一个华氏温度,要求输出相应摄氏温度公式为:c=5/9(f-32).输出结果保留2位小数据。

日期:2006-12-30 13:42:13 人气:1

七、编程序,输入一个华氏温度,要求输出相应摄氏温度公式为:c=5/9(f-32).输出结果保留2位小数据。

// 华氏温度与摄氏温度对照表 #include #include int main() { float fahr = 0,cels = 0; int low = 0,max = 300,step = 20; printf ("\t=========本程序输出华氏和摄氏的温度对照!==========\n\t2006-12-30\n"); fahr = lo
    A+
热门评论