Write a program accept length and breadth of a rectangle. calculate and its area
Answers
Answered by
42
Answer:
Apply formula to calculate rectangle perimeter i.e.perimeter = 2 * (length + width). Apply formula to calculate rectangle area i.e.area = length * width. Finally, print the value of perimeter and area. * Java program to find perimeter and area of a rectangle.
Answered by
4
Answer:
nice question.......
Similar questions