Question: It's a C++ Programming use Dev C++. Please make it clear. Thank you. 2. Write a program that prompts for and reads in the two

 It's a C++ Programming use Dev C++. Please make it clear.

It's a C++ Programming use Dev C++. Please make it clear.

Thank you.

2. Write a program that prompts for and reads in the two side lengths of a right triangle (floating point numbers) and then calls a float-valued function, Hypot, which calculates and returns the length of the hypotenuse of the triangle. The program then displays the two side lengths and the hypotenuse length. Notes: The Hypot function returns the hypotenuse length - it does not display it; the function should not contain any cout nor cin statements. Math review: Recall that for any right triangle with side lengths a and b, and hypotenuse length c, a? + b2 = c. Here is an example of what output should look like from running your program (user input is shown in bold) Enter the side lengths: 1.2 3.4 First side length = 1.2 Second side length = 3.4 Hypotenuse length = 3.60555

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!