Calculate the value of a area in c
#include<stdio.h>
int main()
{
int lenth, breadth;
printf("Enter the lenth\n");
scanf("%d", &lenth);
printf("Enter the breadth\n");
scanf("%d", &breadth);
int area = lenth*breadth;
printf("The value of the area is %d", area);
return 0;
}
Comments
Post a Comment