Question: Write a complete syntactically correct C++ program that computes and displays to two decimal places the hypotenuse of a rightangle triangle computed using two numbers

Write a complete syntactically correct C++ program that computes and displays to two decimal places the hypotenuse of a rightangle triangle computed using two numbers of legs input from the keyboard into variables named horizontal and vertical of the triangle. The program should include all the required libraries, declare the required variables, display a message to prompt the necessary input, read the required values from the keyboard, and use predefined library functions to compute the hypotenuse then display: The hypotenuse is xxx.xx where xxx.xx is replaced by the actual number. The formula for finding the hypotenuse is: hypotenuse =horizontal2+vertical2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
