From e59b1948f6572f51134059701e68fb7b5fbd473c Mon Sep 17 00:00:00 2001 From: sunny3631 Date: Wed, 3 Apr 2024 20:44:41 +0900 Subject: [PATCH] =?UTF-8?q?feat=20::=20=EB=B9=BC=EA=B8=B0=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84=20=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..5f5b2e6 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() {