Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream.h>
- #include <conio.h>
- void main ( )
- {
- float R, Area;
- float p1 = 3.14159 ;
- cout << " Enter radius of circle: " ;
- cin >> R;
- Area = p1 * R * R;
- cout << " Area is: " << Area << endl;
- getch ();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement