Header Ads Widget

Responsive Advertisement

How to calculate area of rectangle

 #include<stdio.h>

int main()

{


float length,breath;

float area;

printf("Enter the length\n : ");

printf("Enter the breath\n : ");

scanf("%f%f",&length,&breath);

area=length*breath;

printf("Calculate of %f",area);

return 0;


}


Post a Comment

0 Comments