Advertisement
Guest User

Untitled

a guest
Jul 11th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. main()
  4. {
  5.  
  6.  
  7. float radius,area;
  8.  
  9.  
  10. printf("enter the radius");
  11. scanf("%f",&radius);
  12.  
  13. area=3.14 * radius * radius;
  14.  
  15. printf("area of a circle= %f",area);
  16.  
  17.  
  18. getch();
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement