Question: how to find perimeter of rectangle in c program?
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 .