Question: 9. Rectangle Information. This program displays information about a rectangle drawn by the user. Input: Two mouse clicks for the opposite corners of a rectangle.

9. Rectangle Information. This program displays information about a rectangle drawn by the user. Input: Two mouse clicks for the opposite corners of a rectangle. Output: Draw the rectangle. Print the perimeter and area of the rectangle. area = (length)(width) perimeter 2(length+ width) Formulas
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
