#include /*print Celsius-Fahrenheit table for celc = 0, 2, ..., 50; floating-point version*/ #define LOWER 0 /* lower limit of table */ #define UPPER 50 /* upper limit of table */ #define STEP 2 /* step size */ /* print Celsius-Fahrenheit table */ main() { int celc; for (celc = LOWER; celc <= UPPER; celc = celc + STEP) printf("%3d %6.1f\n", celc, (9.0/5.0)*(celc)+32); }