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

Popular posts from this blog

create a num table in a new file in c

write a programme to compare time stamp in c

write a struct programme to keep bank details in c