From 4abde22a7f746ecd4aa00b081db91b92e305e7ab Mon Sep 17 00:00:00 2001 From: kevinnls Date: Sat, 21 Nov 2026 14:15:05 +0530 Subject: [PATCH] format --- chapter01/fahceltable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chapter01/fahceltable.c b/chapter01/fahceltable.c index 8fd4a63..6378aa2 100644 --- a/chapter01/fahceltable.c +++ b/chapter01/fahceltable.c @@ -7,8 +7,10 @@ int main(){ int fahr, cel; + printf("%s\t%s\n", "°F", "°C"); + printf("%s\t%s\n", "===", "==="); for(fahr=lowerF; fahr<=upperF; fahr+=step){ cel = 5 * (fahr - 32) / 9; - printf("%d\t%d\n", fahr, cel); + printf("%3d\t%3d\n", fahr, cel); } }