Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Write a Program Findout area of Circal Using Pointer */
- #include<stdio.h>
- #include<conio.h>
- void main()
- {
- float ra,*r,pi=3.14,area;
- clrscr();
- printf("\n Enter Area : ");
- scanf("%f",&ra);
- r=&ra;
- area=pi*(*r)*(*r);
- printf("\n Circal Of Area is : %.2f",area);
- getch();
- }
Add Comment
Please, Sign In to add comment