Question: Write a program that takes the lengths of sides a and c (both double) of a right triangle from user and print out the length
Write a program that takes the lengths of sides a and c (both double) of a right triangle from user and print out the length of b, with precision 2 . Hint: The sides of a right triangle are related by this equation, where c is the hypotenuse: a2+b2=c2 Task 2: Expressions Write a program that evaluates the following expressions: 1. x5y5 divided by x3xy+y3 2. x4/y4 divided by x2+xy+y2 Your program should get the values of x and y from user. And the resulting output should be printed out with precision 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
