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