Browse Source

Added programming mode without functionality

remotes/origin/feature
fdai7782 11 months ago
parent
commit
550fe31582
  1. 18
      src/main/c/main_taschenrechner.c

18
src/main/c/main_taschenrechner.c

@ -82,6 +82,24 @@ void graphMode() {
}
}
// Programming mode
void programmingMode() {
int num1, num2, result;
char operator;
printf("Enter first integer: ");
scanf("%d", &num1);
printf("Enter operator (+, -, *, /): ");
scanf(" %c", &operator);
printf("Enter second integer: ");
scanf("%d", &num2);
}
// change mode
int mode(int userChoice){

Loading…
Cancel
Save