Skip to main content
Search
Search This Blog
Adsense
CFETCH
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
Labels
C Programs
February 10, 2013
A C Program to find area of circle.
#include<stdio.h>
#include<conio.h>
void main()
{
int pi=3.14,area,r;
clrscr();
printf("Enter value of radius:");
scanf("%d",&r);
area=pi*r*r;
printf("The of the circle is:%d",area);
}
Comments
Popular Posts
January 17, 2014
C program to draw ellipse using Midpoint Ellipse Algorithm.
January 10, 2014
Draw a Line using Equation y=mx+c in C
Comments
Post a Comment