Question: 2. Write a Java program that displays the perimeter and the area of a rectangle with a width of 5.0 and a height of 8.5.
2. Write a Java program that displays the perimeter and the area of a rectangle with a width of 5.0 and a height of 8.5. (Recall: perimeter = the sum of the lengths of all four sides.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
