摘要:
#include int main() { float c,f; while(scanf("%f",&f)!=EOF) { c=(f-32)*5.0/9; printf("%.3f\n",c); } return 0; } 阅读全文
摘要:
#include int main() { float f,c; while(scanf("%f",&f)!=EOF) { c=(f-32)*5.0/9; printf("fahr=%f,celsius=%f\n",f,c); } return 0; } 阅读全文
摘要:
#include int main() { double a,b,c; while(scanf("%lf %lf %lf",&a,&b,&c)!=EOF) { printf("%.3f\n",(a+b+c)/3); } return 0; } 阅读全文