diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 2cc9319..6f0b2d2 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -88,6 +88,13 @@ int main() { result = square(num1); printf("Result: %lf\n", result); break; + case 11: + printf("Enter angle in degrees: "); + scanf("%lf", &angle); + result = sine(angle); + printf("Sine of %.2lf degrees: %lf\n", angle, result); + break; + case : printf("Exiting...\n"); break;