|
@ -70,6 +70,12 @@ int main() { |
|
|
result = logarithm(num1); |
|
|
result = logarithm(num1); |
|
|
printf("Result: %lf\n", result); |
|
|
printf("Result: %lf\n", result); |
|
|
break; |
|
|
break; |
|
|
|
|
|
case 8: |
|
|
|
|
|
printf("Enter base and exponent: "); |
|
|
|
|
|
scanf("%lf %lf", &num1, &num2); |
|
|
|
|
|
result = potential(num1, num2); |
|
|
|
|
|
printf("Result: %lf\n", result); |
|
|
|
|
|
break; |
|
|
case : |
|
|
case : |
|
|
printf("Exiting...\n"); |
|
|
printf("Exiting...\n"); |
|
|
break; |
|
|
break; |
|
|