1. sunqiang
  2. tcpl

Commits

sunqiang  committed 4b9d3ff

prettify the headingof ch01 02 ex1.4

  • Participants
  • Parent commits 05414d2
  • Branches default

Comments (0)

Files changed (1)

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

View file
     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);