write an easy program in java to find area and perimeter of a rectangle
Answers
Answered by
2
Store it in some variable say length and width . 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 .
If you satisfy on my answer please mark it BRAINLIEST ✏️✏️✏️✏️✏️✏️✏️✏️✏️✏️✏️
Answered by
0
Explanation:
Hope it helps you. ....
Attachments:
Similar questions