#include
voidmain()
{
floatF,C;
printf("請輸入您需要轉換的攝氏溫度:");
scanf("%f",&C);
F=(C+32)*9/5.0;
printf("其對應的華氏溫度為:%.2f\n",F);
}
main()
{
floatC,F;
scanf("%f",&F);
C=5.0/9*(F-32);
printf("%8.2f",C);
}
#include
intmain(void)
{
floatc;
printf("請輸入攝氏度:");
scanf("%f",&c);
printf("對應的華氏度:%.2f\n",(c+92)*9/5);
return0;
}
下一篇監制是干什么的?