实验三

#include<stdio.h>
#include<math.h>
int main()
{
    double f, c;
    while (scanf("%lf", &c) != EOF)
    {
        f=9*c/5+32;
        printf("摄氏度c=%.2f时,华氏度f=%.2f", c, f);
        printf("\n");
    }

    return 0;
}

 

posted @ 2022-03-29 17:35  扶苏与越越  阅读(18)  评论(0)    收藏  举报