Question: Take the same problem from Lab 2 and write a program that uses the variable a to contain the length of one leg, c the

Take the same problem from Lab 2 and write a program that uses the variable a to contain the length of one leg, c the length of the hypotenuse, and b the calculated missing leg length. Use 17 for a,39 for c. Print b after you calculate it.
Use the equasion a**2+ b**2= c**2 where a and b are the length of the legs and c is the length of the hypotenuse.

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!