View Code of Problem 26

#include<cstdio>
#include<cmath>
using namespace std;
int main(){
	int a,b;
	double x;
	char c;
	while(scanf("%d",&a)!=EOF){
		if(a==32){
			printf("0.00\n");
		}
		else{
			x=5.0/(9.0*(a-32));
			printf("%.2lf\n",x);
		}
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 26