fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main(){
  5. double R;
  6. cin>> R;
  7. double A=3.14159 *R*R;
  8. cout<<"A="<<A<<endl;
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0s 4320KB
stdin
Standard input is empty
stdout
A=0