Write a program that asks the user for the lengths of the sides of a rectangle. Then

Question:

Write a program that asks the user for the lengths of the sides of a rectangle. Then print

• The area and perimeter of the rectangle
• The length of the diagonal (use the Pythagorean theorem)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: