From edfcf6b2bd9f38df9a33ae37e3a8211a45fe45fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=EC=9D=B4=EC=9E=A5=EC=9B=90?= <wkddnjs3268@ajou.ac.kr>
Date: Mon, 3 Aug 2020 16:59:00 +0900
Subject: [PATCH] My printf HW

---
 hello.c     | 2 +-
 output_data | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/hello.c b/hello.c
index a984106..7489bc9 100644
--- a/hello.c
+++ b/hello.c
@@ -8,6 +8,6 @@ int main()
 		fprintf(stderr, "Error: It is positive\n");
 	else
 		fprintf(stderr, "Error: It is negative\n");
-	fprintf(stdout, "Hello, World %-10d\n", a);
+	fprintf(stdout, "Hello, World %-d\n", a);
 	return 0;
 }
diff --git a/output_data b/output_data
index b8656e8..3bb9c68 100644
--- a/output_data
+++ b/output_data
@@ -1 +1,2 @@
-This is negative
+Hello, World -200      
+Error: It is negative
-- 
GitLab