|
@ -107,6 +107,12 @@ int main() { |
|
|
scanf("%lf", &angle); |
|
|
scanf("%lf", &angle); |
|
|
result = tangent(angle); |
|
|
result = tangent(angle); |
|
|
printf("Tangent of %.2lf degrees: %lf\n", angle, result); |
|
|
printf("Tangent of %.2lf degrees: %lf\n", angle, result); |
|
|
|
|
|
break; |
|
|
|
|
|
case 14: |
|
|
|
|
|
printf("Enter n and r: "); |
|
|
|
|
|
scanf("%d %d", &n, &r); |
|
|
|
|
|
result = permutation(n, r); |
|
|
|
|
|
printf("Permutation of %d and %d: %lf\n", n, r, result); |
|
|
break; |
|
|
break; |
|
|
case : |
|
|
case : |
|
|
printf("Exiting...\n"); |
|
|
printf("Exiting...\n"); |
|
|