diff --git a/src/main/c/main_calculator.c b/src/main/c/main_calculator.c index 99ee7c6..f208d30 100644 --- a/src/main/c/main_calculator.c +++ b/src/main/c/main_calculator.c @@ -1,4 +1,3 @@ - #include #include #include @@ -1340,8 +1339,7 @@ int mode(int userChoice){ } -// display the mode options: -int displayMenu(){ + printf("\nCalculator Modes: \n"); printf("\n1: Basic Mode\n"); @@ -1351,6 +1349,6 @@ int displayMenu(){ printf("\n5: Unit converter Mode (length, weight volume etc.)\n"); printf("\n0: Exit calculator\n"); - return 1; // return 1 to check if the function works + + -}