#include<bits/stdc++.h> using namespace std; int main(){ int a; double p; while(scanf("%d",&a)!=EOF){ p = 5/9*(a-32); printf("%.2lf",p); cout<<endl; } return 0; }
Double click to view unformatted code.