Sunday, 7 April 2013

programe to find area of circle in C


#include<stdio.h>
#include<conio.h>
#define pi 3.1415
void main()
{
float  r,a;
printf("enter the radius");
scanf("%f",&r);
a=pi*r*r;
printf("\n AREA of Circle is = %.2f",a);
getch();
}

Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

0 comments:

Post a Comment