C++ HELP.
Write a complete program that gets two the lengths of each leg of a right triangle from the user and outputs the length of the hypotenuse. Remember the hypotenuse of a right triangle is obtained by taking the square of each side, adding those values together and taking the square root of the sum. Here is a sample run to illustrate what your output should look like:
Please enter the lengths of the two legs of a right triangle: 1.5 2.0
The hypotenuse of a right triangle with legs 1.5 and 2 is 2.5.
Copy paste your code in the text area and below your code copy paste the output for a sample run with the same inputs as above (1.5 and 2). Your output should exactly match the sample output above.