View Code of Problem 26

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

Double click to view unformatted code.


Back to problem 26