C++ code need help, please see question below.
Question:
Write a C++ function called compute together with its prototype that is passed 2 integers, A and B and returns the square root of A2+B2 ,as a double. For example, if A was 3 and B was 4 it would return 5.0.
Give a sample call for your function for the values A is 7, B is 9 that could be made from main to print out the result of the call to the screen.