Program to calculate area of rectangle. Length and breadth given by the user

#include<stdio.h>

main()
{
    int l,b,area;
    printf("\nEnter length and breadth=");
    scanf("%d%d",&l,&b);
    area=l*b;
    printf("\nThe area=%d",area);
}

No comments:

Post a Comment