Question: Write a program that constructs a rectangle with area 42 and a rectangle with perimeter 42. Print the widths and heights of both rectangles.
Write a program that constructs a rectangle with area 42 and a rectangle with perimeter 42. Print the widths and heights of both rectangles.
Step by Step Solution
3.33 Rating (156 Votes )
There are 3 Steps involved in it
To solve this problem we first need to understand the mathematical concepts of the area and perimete... View full answer
Get step-by-step solutions from verified subject matter experts
