Advertisement
laith-0093

C++

Jan 16th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <iostream.h>
  2. #include <conio.h>
  3. void main ( )
  4. {
  5. float R, Area;
  6. float p1 = 3.14159 ;
  7. cout << " Enter radius of circle: " ;
  8. cin >> R;
  9. Area = p1 * R * R;
  10. cout << " Area is: " << Area << endl;
  11. getch ();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement