View Code of Problem 26

#include<stdio.h>
#include<cstdlib>
#include<cmath>
#include<iostream>
#include<algorithm>
using namespace std;
int main(){
	int f;
	while(scanf("%d",&f)==1){
		double c=5.0/9*(f-32);
		printf("%.2f\n",c);
	}
	
	
	
	return 0;
}

Double click to view unformatted code.


Back to problem 26