Write A Program To Find The Area Of A Rectangle In C Language?

1

1 Answers

Anonymous Profile
Anonymous answered
#include

void main()

{

int length, breadth, area, perimeter;

print f("\n Enter the length & breadth of a Rectangle");

scan f("%d%d",&length,&breadth);

area=length*breadth;

perimeter=2*(length+breadth);

print f("\n Area of the Rectangle=%d",area);

print f("\n Breadth of the Rectangle=%d",perimeter);

}

Answer Question

Anonymous