diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 68e1d1f..0081007 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -123,6 +123,12 @@ int main() { scanf("%d %d", &n, &r); result = combination(n, r); printf("Combination of %d and %d: %lf\n", n, r, result); + break; + case 11: + printf("Enter a number: "); + scanf("%lf", &num1); + result = cube(num1); + printf("Result: %lf\n", result); break; case :