diff --git a/src/main/c/Calculator/calculator.c b/src/main/c/Calculator/calculator.c index b7f10ce..7a570bc 100644 --- a/src/main/c/Calculator/calculator.c +++ b/src/main/c/Calculator/calculator.c @@ -64,7 +64,13 @@ int main() { result = modulus(num1, num2); printf("Result: %lf\n", result); break; - case : + case 7: + printf("Enter a number: "); + scanf("%lf", &num1); + result = logarithm(num1); + printf("Result: %lf\n", result); + break; + case : printf("Exiting...\n"); break; default: