> 其他 >
c语言 将摄氏温度转换为华氏温度 转换公式为 f=(9/5)c+32
人气:320 ℃ 时间:2020-04-06 15:05:51
解答
用这个程序可以实现#includefloat change(float x);void main(){float fahr;printf("请输入摄氏温度:");scanf("%f",&fahr);printf("\n对应的华氏温度为:%.1f\n\n",change(fahr)); }float change(float x){float c...
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版