fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. double N;
  6. cin>>N;
  7. N=(N-32.0)*5.0/9.0;
  8. cout << fixed;
  9. cout << setprecision(3) << N<< endl;
  10. }
Success #stdin #stdout 0.01s 5288KB
stdin
104
stdout
40.000