#include <stdio.h> int main() { int F; while (scanf("%d", &F) != EOF) { float C; C = (F - 32) * 5 / 9.0; printf("%.2f\n", C); } return 0; }
Double click to view unformatted code.