task7

`#include <stdio.h>

include<stdlib.h>

int main(){
float f,c;
while (scanf("%f",&c)!=EOF)
{
f=9.0/5.0*c+32;
printf("摄氏度c=%.2f时,华氏度f=%.2f\n",c,f);
}

system("pause");
return 0;
}`

posted @ 2024-03-16 22:07  _FuBuki  阅读(3)  评论(0编辑  收藏  举报