Advertisement
Guest User

no namespace

a guest
Feb 20th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.22 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. int main() {
  4.     float f;
  5.  
  6.     std::cout << "Enter the radius of the circle: ";
  7.  
  8.     std::cin >> f;
  9.  
  10.     std::cout << "The area of the circle is ==> " << 3.1416 * f * f;
  11.  
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement