#include<stdio.h>
int main()
{
int main()
{
float l,w;
float area;
printf("Enter size of each sides of the rectangle : ");
scanf("%f%f",&l,&w);
area = l * w;
printf("Area of rectangle is: %.3f",area);
return 0;
}
float area;
printf("Enter size of each sides of the rectangle : ");
scanf("%f%f",&l,&w);
area = l * w;
printf("Area of rectangle is: %.3f",area);
return 0;
}
OUTPUT:
Enter size of each sides of the rectangle : 8
2
Area of rectangle is: 16
Dear User,
Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.
-Chief Administrative Officer.
Note: only a member of this blog may post a comment.