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