write a C program to find the perimeter of a rectangle?
Answers
Answered by
1
Answer:
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