代码如下:
#include<bits/stdc++.h> using namespace std; int main(){ int f; double c; cin>>f; c=5*(f- 32.0)/9; cout<<fixed<<setprecision(5)<<c<<endl; return 0; }