Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F

Area of a Rectangle

#include<stdio.h>
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;
}

OUTPUT:

Enter size of each sides of the rectangle : 8
2
Area of rectangle is: 16

Share this

Related Posts

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.