Question: java QUESTION 1 Write a program that displays the area, perimeter, and diagonal of a rectangle with the width of 4.5 and height of 7.9
QUESTION 1 Write a program that displays the area, perimeter, and diagonal of a rectangle with the width of 4.5 and height of 7.9 using the following formulas: Area = width * height Perimeter = 2 (height + width) Diagonal of a rectangle = V( height 2 + width 2 You should start to write the code with using the class name and (if necessary) include the imports depending on the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
