|
@ -88,6 +88,13 @@ int main() { |
|
|
result = square(num1); |
|
|
result = square(num1); |
|
|
printf("Result: %lf\n", result); |
|
|
printf("Result: %lf\n", result); |
|
|
break; |
|
|
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 : |
|
|
case : |
|
|
printf("Exiting...\n"); |
|
|
printf("Exiting...\n"); |
|
|
break; |
|
|
break; |
|
|