Saturday 8 April 2017

C Program to Find Area of Circle


Program :-

#include<stdio.h>
main()
{
   float radius,area;
   printf("enter the radius : \n");
   scanf("%f",&radius);
   printf("area =  %f " ,3.14*radius*radius);
}
 
Output :-

enter the radius : 3
area = 28.26




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...