C Lang: Program in C to calculate Area of Circle when Radius is input from user.
#include<stdio.h>
#include<conio.h>
void main()
{
int R;
float Pi=3.14, Area;
printf("Enter Radius =");
scanf("%d",&R);
Area=Pi*R*R;
printf("Area is %d",Area);
getch();
}
Please Visit: www.lovebookessence.blogspot.com
Please Visit: www.lovebookessence.wordpress.com
Facebook Page: fb.me/mohitsinghkush700

Comments
Post a Comment