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