View Code of Problem 26

#include<stdio.h>
#include<math.h>
int main(){
	int f;
	double c=0.0;
	while(scanf("%d",&f)!=EOF){
		c=5.0/9.0*(f-32);
		printf("%.2f ",c);
	}
	printf("\n");
	return 0;	

}

Double click to view unformatted code.


Back to problem 26