include ltstdiohint main double c, f printf quot请输入华氏温度quot scanf quot%lfquot, f c=509*f32 printf quot%g华氏温度是%2f摄氏温度\nquot, f, c return 0。
1include voidmain floatf,cprintfquot请输入您需要转换的摄氏温度quotscanfquot%fquot,cf=c+32*950printfquot其对应的华氏温度为%2f\nquot,f 2main float c,fscanfquot%fquot,fc=5。
includeltstdioh int main float F,cwhile1 printfquot请输入华氏温度quotscanfquot%fquot,Fc=5*F329printfquot摄氏温度为%02fquot,creturn 0。