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

Question:

Write a program that asks the user for the lengths of a rectangle’s sides. 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: