Commits

sunqiang  committed b9effbf

mini typo update

  • Participants
  • Parent commits fa5ef51

Comments (0)

Files changed (2)

File ch01/03/01.fahr2celsius.5/main.c

 {
     int fahr;
 
-    printf("  F          C\n"
-           "==============\n");
+    printf("  F      C\n"
+           "==========\n");
     for (fahr = 0; fahr <= 300; fahr += 20)
-        printf("%3d\t%6.1f\n", fahr, (5. / 9.) * (fahr - 32));
+        printf("%3d %6.1f\n", fahr, (5. / 9.) * (fahr - 32));
 
     return 0;
 }

File ch01/03/02.ex1.5/main.c

 {
     int fahr;
 
-    printf("  F          C\n"
-           "==============\n");
+    printf("  F      C\n"
+           "==========\n");
     for (fahr = 300; fahr >= 0; fahr -= 20)
-        printf("%3d\t%6.1f\n", fahr, (5. / 9.) * (fahr - 32));
+        printf("%3d %6.1f\n", fahr, (5. / 9.) * (fahr - 32));
 
     return 0;
 }