#include<stdio.h>
#include<conio.h>
int main()
{
float area;
int w,l;
printf("enter width of rectangle");
scanf("%d",&w);
printf("\nenter length of rectangle");
scanf("%d",&l);
area=w*l;
printf("\nArea of rectangle is=%f",area);
}
#include<conio.h>
int main()
{
float area;
int w,l;
printf("enter width of rectangle");
scanf("%d",&w);
printf("\nenter length of rectangle");
scanf("%d",&l);
area=w*l;
printf("\nArea of rectangle is=%f",area);
}
No comments:
Post a Comment