|
@ -64,7 +64,13 @@ int main() { |
|
|
result = modulus(num1, num2); |
|
|
result = modulus(num1, num2); |
|
|
printf("Result: %lf\n", result); |
|
|
printf("Result: %lf\n", result); |
|
|
break; |
|
|
break; |
|
|
case : |
|
|
|
|
|
|
|
|
case 7: |
|
|
|
|
|
printf("Enter a number: "); |
|
|
|
|
|
scanf("%lf", &num1); |
|
|
|
|
|
result = logarithm(num1); |
|
|
|
|
|
printf("Result: %lf\n", result); |
|
|
|
|
|
break; |
|
|
|
|
|
case : |
|
|
printf("Exiting...\n"); |
|
|
printf("Exiting...\n"); |
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
|