khoob study

Saturday, November 12, 2022

Find the area of circle in c language

                 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