Computer Science, asked by Pokemonknowledge, 5 months ago

WRITE A PROGRAM TO ENTER LENGTH AND BREADTH OF A RECTANGLE . CALCULATE AND DISPLAY ITS AREA AND PERIMETER.​

Answers

Answered by Anonymous
1

Explanation:

Input length and width of the rectangle using scanf() function. Store it in two variables say length and width . Calculate perimeter using formula for perimeter of rectangle perimeter = 2 * (length + width) . Print the value of perimeter

Answered by topwebsoft
0

Answer:

Logic to find perimeter of a rectangle

Input length and width of the rectangle using scanf() function. Store it in two variables say length and width . Calculate perimeter using formula for perimeter of rectangle perimeter = 2 * (length + width) . Print the value of perimeter

Similar questions