#includemain() { float fahr, cels; int lower, upper, step; lower = 0; upper = 200; step = 10; cels = lower; printf("Cels\tFahr\n"); while (cels <= upper) { fahr = 32.0 + 9.0/5.0 * cels; printf("%4.0f\t%4.0f\n", cels, fahr); cels = cels + step; } }
Subscribe to Posts [Atom]
Post a Comment