We want to write a function that raises the power of a number to an integer number and here is a simple solution:
function power(x, n):
if n = 0 then
return 1
return x * power(x, n-1)
Please select the option appropriate to the program.