@ -22,6 +22,12 @@ int divide(int a, int b) {
return a / b;
}
// Trigonometric functions
double sineFunction(double angle) {
// Convert degrees to radians for trigonometric functions
return sin(angle * M_PI / 180.0);
// scientificmode
@ -9,6 +9,8 @@ int multiply(int a, int b);
int divide(int a, int b);
double sineFunction(double angle);
int mode(int userChoice);
int displayMenu();