Find area of circle in c language
Program:-
#include<stdio.h>
#include<conio.h>
main()
{
int Pi=22/7,r;
clrscr();
printf("enter the radious of circle ");
scanf("%d",r);
printf("area of circle is %d",22/7(r*r));
getch();
}
Output :-
enter the radious of circle 7
area 154
No comments:
Post a Comment