Quick actions

cmd+k|ctrl+k

Navigation

Languages

perimeter and area of a rectangle with a height of 7 inches and width of 5 inches.

Snippet info

Language

C

Visibility

public

Author

krishnakanth

Created

2023-01-19T15:28:18.946172Z

Updated

2023-01-19T15:28:18.946172Z

#include<stdio.h>
main()
{
int height=7,width=5,area,perimeter;
area=height*width;
printf("the area is %d",area);
perimeter=2*(height+width);
printf("\nthe perimeter of circle is %d",perimeter);
}
INFO