Computer Science, asked by shivamshukla1031, 9 months ago

write an easy program in java to find area and perimeter of a rectangle​

Answers

Answered by ItzMADARA
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 Anonymous
0

Explanation:

Hope it helps you. ....

Attachments:
Similar questions