@ -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");