Program to find area of rectangle in C

 Program to find area of rectangle (A=l*b)

Program -to -find -area- of- rectangle-  in- C



#include<stdio.h>

int main()

{

int l,b,A;

printf("enter the value of l and b\n");

scanf("%d%d",&l,&b);

A=l*b;

printf("the area of rectangle is %d",A);

return 0;

}

Previous Post Next Post

Contact Form