Question: Probblem 3: Write a simple algorithm that calculates the length of the hypotenuse (c), the perimeter and the surface of a right triangle based on
Probblem 3: Write a simple algorithm that calculates the length of the hypotenuse (c), the perimeter and the surface of a right triangle based on the length of the two shortest sides. Write your solution as a sequence of steps that can be followed in order. Next, write a C program that asks the user to enter the two short sides and displays the length of the hypotenuse, the perimeter and the surface of the triangle with two decimal places (look online for the formulas to calculate these)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
