The program below uses the math.pow() function, which you have likely not seen before. Unfortunately, the output of the program is incorrect.

Make sure you understand what the function is supposed to do, the meaning of each input parameter, and the data returned by the function. The, fix the code so the output is correct.

The following examples demonstrate the expected program output.

Enter x: 5
Enter y: 6
5 raised to the 6 power is: 15625.0
Enter x: 10
Enter y: 2
10 raised to the 2 power is: 100.0

import math

x = int(input("Enter x: "))
y = int(input("Enter y: "))

result = math.pow(y,x) # oops

print(x,"raised to the",y,"power is:",result)

The issue with the program is that the `math.pow()` function takes the base as the first argument and the exponent as the second argument. However, in the given code, the base `x` and exponent `y` are swapped. To fix the code, swap the variables `x` and `y` when calling the `math.pow()` function.

Updated code:

```python
import math

x = int(input("Enter x: "))
y = int(input("Enter y: "))

result = math.pow(x, y)

print(x, "raised to the", y, "power is:", result)
```

Now the output should be correct for the given input examples.