diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index c02f69f..a25009c 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -42,4 +42,10 @@ switch (choice) { result = divide(num1, num2); printf("Result: %d\n", result); } - break; \ No newline at end of file + break; + case 5: + printf("Exiting...\n"); + break; + default: + printf("Invalid choice\n"); + } \ No newline at end of file