#include<string.h> #include<math.h> #include<stdio.h> #include<ctype.h> int main() { double f,c; while(scanf("%lf",&f)!=EOF) { c=5/9*(f-32); printf("%.2f\n",c); } return 0; }
Double click to view unformatted code.