From 907208249ef3edc90259bf4503dca38ba2997f72 Mon Sep 17 00:00:00 2001 From: jammin Date: Wed, 3 Apr 2024 20:41:22 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=BC=EA=B8=B0=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calculator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calculator.c b/calculator.c index 832dfd2..ef09f7c 100644 --- a/calculator.c +++ b/calculator.c @@ -4,8 +4,9 @@ void add(int a, int b) { printf("a + b = %d\n", a + b); } -void sub() +void sub(int a, int b) { + printf("a - b = %d\n", a - b); } void mul() {