Saturday 8 April 2017

C Program to Calculate Area of a Rectangle


Program :-

#include<stdio.h>
main()
{
   float b,l,area;
   printf("enter the breadth and the length : \n");
   scanf("%f %f ",&b,&l);
   printf("area =  %f ", b * l);
}

Output :- 

enter the breadth and length :
3
4
area = 12

No comments:

Post a Comment

How to Invert an SVG image using CSS ?

You can invert your svg easily by using following css code svg { -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */ filter...