@ -52,3 +52,8 @@ printf("Error: Invalid input for natural logarithm!\n");
return 0;
}
// Function to calculate the exponentiation of a number to the power of another number
float power(float x, float y) {
return pow(x, y);