DEV Community

mathpurpose
mathpurpose

Posted on

C-Basics Ex5

  1. Write a C program to compute the perimeter and area of a rectangle with a height of 7 inches. and width of 5 inches.

    Expected Output:
    Perimeter of the rectangle = 24 inches
    Area of the rectangle = 35 square inches

Top comments (0)