summaryrefslogtreecommitdiffstats
path: root/1
diff options
context:
space:
mode:
Diffstat (limited to '1')
-rw-r--r--1/3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/1/3.c b/1/3.c
index 802e1c0..1360673 100644
--- a/1/3.c
+++ b/1/3.c
@@ -9,11 +9,11 @@ int main(int argc, char *argv[]) {
step = 20;
fahr = lower;
- printf("fahr\tcelsius\n");
+ printf("fahrenheit\tcelsius\n");
while (fahr <= upper) {
celsius = (5.0 / 9.0) * (fahr - 32.0);
- printf("%4.0f\t%7.1f\n", fahr, celsius);
+ printf("%10.0f\t%7.1f\n", fahr, celsius);
fahr = fahr + step;
}