Skip to content

Commit

Permalink
[doooly/#3] feat: 빼기 기능 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
daeun084 committed Apr 3, 2024
1 parent 34bd190 commit ee7657e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions calculator.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#include <stdio.h>
#nclude <stdio.h>

void add(int a, int b)
{
printf("a + b = %d\n", a + b);
}
void sub()
{
printf("a - b = %d\n", a - b);
}
void mul()
{
Expand Down Expand Up @@ -40,4 +41,4 @@ int main(void)
}
}
return 0;
}
}

0 comments on commit ee7657e

Please sign in to comment.