diff options
-rw-r--r-- | one/temp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ temp() printf("Fahrenheit-Celsius table\n"); for (fahr = UPPER; fahr >= LOWER; fahr -= STEP) { cel = (5.0 / 9.0) * (fahr - 32.0); - /* 3 and 6 characters wide with 1 digit after the dot */ + /* 3 and 6 digits wide with 0 and 1 digits after the dot */ printf("%3.0f %6.1f\n", fahr, cel); } |