diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index 0081007..ea55d75 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -130,7 +130,12 @@ int main() { result = cube(num1); printf("Result: %lf\n", result); break; - + case 12: + printf("Enter a number: "); + scanf("%lf", &num1); + result = cubeRoot(num1); + printf("Result: %lf\n", result); + break; case : printf("Exiting...\n"); break;