diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index b130f30..e29d35c 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -107,6 +107,12 @@ int main() { scanf("%lf", &angle); result = tangent(angle); 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; case : printf("Exiting...\n");