Commits

sunqiang committed 4b9d3ff

prettify the headingof ch01 02 ex1.4

Comments (0)

Files changed (1)

ch01/02/05.ex1.4/main.c

     step = 20.;  // step size
 
     celsius  = lower;
-    printf("  C          F\n\n");
+    printf("  C          F\n"
+           "==============\n");
     while (celsius <= upper) {
         fahr = 9. / 5. * celsius + 32.;
         printf("%3.0f\t%6.1f\n", celsius, fahr);