diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 5ea7709..2a41295 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -54,3 +54,12 @@ switch (choice) { return 0; } +// Function definitions +void displayMenu() { + printf("\nSimple Calculator\n"); + printf("1. Add\n"); + printf("2. Subtract\n"); + printf("3. Multiply\n"); + printf("4. Divide\n"); + printf("5. Exit\n"); +} \ No newline at end of file