Write a java program to find the area, perimeter, and diagonal of a rectangle.
Answers
Answered by
1
Answer:
Create a JAVA program to calculate the perimeter, area and diagonal of a rectangle from its width and height (perimeter = sum of the four sides, area = base x height, diagonal using the Pythagorean theorem). It must repeat until the user enters 0 for the width.
Answered by
0
hope it helps....... ☺
Attachments:
Similar questions