|
@ -57,6 +57,12 @@ int main() { |
|
|
scanf("%lf %lf", &num1, &num2); |
|
|
scanf("%lf %lf", &num1, &num2); |
|
|
result = exponent(num1, num2); |
|
|
result = exponent(num1, num2); |
|
|
printf("Result: %lf\n", result); |
|
|
printf("Result: %lf\n", result); |
|
|
|
|
|
break; |
|
|
|
|
|
case 6: |
|
|
|
|
|
printf("Enter two numbers: "); |
|
|
|
|
|
scanf("%lf %lf", &num1, &num2); |
|
|
|
|
|
result = modulus(num1, num2); |
|
|
|
|
|
printf("Result: %lf\n", result); |
|
|
break; |
|
|
break; |
|
|
case : |
|
|
case : |
|
|
printf("Exiting...\n"); |
|
|
printf("Exiting...\n"); |
|
|