Browse Source

Update main_calculator.c

master
fdai7801 11 months ago
parent
commit
57f7b2821d
  1. 8
      src/main/c/main_calculator.c

8
src/main/c/main_calculator.c

@ -1,4 +1,3 @@
#include <string.h>
#include <stdlib.h>
#include <math.h>
@ -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
}
Loading…
Cancel
Save