c++<br/><img src="https://media.cheggcdn.com/media%2F6fb%2F6fb79ffb-5e78-4b9a-8fdf-ef884904fac4%2Fimage.png" alt="2) Write a function called power that takes as parameters one double x and one integer and returns the value of x raised to" aria-describedby="d3f"/>2) Write a function