![]() |
#2
op1232022-09-07 20:36
|
编写程序,从键盘输入一个摄氏温度,将其转换为华氏温度并输出。
#include<stdio.h>
int main(void){
double f, c;
scanf("%lc", &c);
f=1.8*c+32;
printf("%f",f);
return 0;
}