#include <stdio.h> int main() { int lower, upper; if (scanf("%d %d", &lower, &upper) != 2 || lower > upper || upper > 100) { printf("Invalid.\n"); return 0; } printf("fahr celsius\n"); for (int fahr = lower; fahr <= upper; fahr += 2) { double celsius = 5.0 * (fahr - 32.0) / 9.0; //printf("%-4d %.1f\n", fahr, celsius); printf("%d %5.1f\n", fahr, celsius); } return 0; }