View Code of Problem 26

#include<stdio.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#define Max 100
int main()
{
	int f,i;
	float c;
	while(scanf("%d",&f)!=EOF)
	{
		c = 5/9*(f-32);
		printf("%.2f",c);
	}
	
	return 0;
}

Double click to view unformatted code.


Back to problem 26