|
@ -75,6 +75,12 @@ int main() { |
|
|
scanf("%lf %lf", &num1, &num2); |
|
|
scanf("%lf %lf", &num1, &num2); |
|
|
result = potential(num1, num2); |
|
|
result = potential(num1, num2); |
|
|
printf("Result: %lf\n", result); |
|
|
printf("Result: %lf\n", result); |
|
|
|
|
|
break; |
|
|
|
|
|
case 9: |
|
|
|
|
|
printf("Enter a number: "); |
|
|
|
|
|
scanf("%lf", &num1); |
|
|
|
|
|
result = squareRoot(num1); |
|
|
|
|
|
printf("Result: %lf\n", result); |
|
|
break; |
|
|
break; |
|
|
case : |
|
|
case : |
|
|
printf("Exiting...\n"); |
|
|
printf("Exiting...\n"); |
|
|