int main() { float celsius; printf("Celsius\t Fahr\n"); for (celsius = 300.0; celsius >= 0.0; celsius = celsius - 20.0) printf("%6.0f\t%6.1f\n", celsius, to_fahr(celsius)); return 0; }
int main(void) { int c; puts("Celsius | Fahrenheit"); for (c = LOWER; c <= UPPER; c += STEP) { printf("%7d | %10.1f\n", c, to_fahr(c)); } return 0; }