View Code of Problem 26

#include<stdio.h>
#include<string.h>
void main()
{
	int F;
	float C;
	while (scanf("%d", &F) != EOF)
	{
		C = (float)5/9 * (F - 32);
		printf("%.2f\n", C);
	}
}

Double click to view unformatted code.


Back to problem 26