@ -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){