Virajsinh

A_PRM_07

Oct 7th, 2017
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. /* Write a Program Findout area of Circal Using Pointer */
  2.  
  3. #include<stdio.h>
  4. #include<conio.h>
  5. void main()
  6. {
  7.     float ra,*r,pi=3.14,area;
  8.     clrscr();
  9.  
  10.     printf("\n Enter Area : ");
  11.     scanf("%f",&ra);
  12.     r=&ra;
  13.     area=pi*(*r)*(*r);
  14.     printf("\n Circal Of Area is : %.2f",area);
  15.     getch();
  16. }
Add Comment
Please, Sign In to add comment