fork download
  1. #include<iostream>
  2. #include<cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. int S, r;
  9. cout << "r=";
  10. cin >> r;
  11. S = 3.14 * pow(r, 2);
  12. cout << S;
  13. system("pause");
  14. return 0;
  15. }
Success #stdin #stdout #stderr 0s 4480KB
stdin
Standard input is empty
stdout
r=-2147483648
stderr
sh: 1: pause: not found