Computer Science, asked by polyghosh33, 2 months ago

WAP in java assume length and breadth of a rectangle and find out area and perimeter. if the area greater than 200 then display big area otherwise display small area​

Answers

Answered by justinmessi501
3

Answer:

Input length and width of rectangle from user. ...

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

Similar questions