|
@ -148,25 +148,6 @@ 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 |
|
|
// change mode |
|
|
int mode(int userChoice){ |
|
|
int mode(int userChoice){ |
|
|