#include <bits/stdc++.h> using namespace std; int main(){ double f; double c; while(cin>>f){ c=5.0/9.0*(f-32); printf("%.2f",c); } return 0; }
Double click to view unformatted code.