View Code of Problem 26

#include <iostream>
#include <cstdio>
#include <iomanip>
using namespace std;
int main(){
    int f;
    double c;
    while(cin>>f){
        c = 5.0/9.0*(f-32);
        cout<<fixed<<setprecision(2)<<c<<endl;
    }
    return 0;
}

Double click to view unformatted code.


Back to problem 26