#include <stdio.h> #include <stdlib.h> #include<ctype.h> #include<string.h> #include<math.h> int main() { float a, c; while (scanf("%f",&a)!=EOF) { c = 5.0 / 9*(a - 32); printf("%.2f\n", c); } return 0; } |
Double click to view unformatted code.