Area of rectangle


/*Area of rectangle*/

#include<stdio.h>

main()

{

float l,b,area;

clrscr();

printf(“enter length and breath”);

scanf(“%f%f”,&l,&b);

area=l*b;

printf(“area of rectangle is=%f”,area);

getch();

}

Output:

Related Posts

Comments are closed.