diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 2a41295..4032bbc 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -62,4 +62,7 @@ void displayMenu() { printf("3. Multiply\n"); printf("4. Divide\n"); printf("5. Exit\n"); +} +int add(int num1, int num2) { + return num1 + num2; } \ No newline at end of file