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