fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. double R;
  6. scanf("%lf", &R);
  7.  
  8. double A = 3.14155 * R * R;
  9. printf("A=%.4lf\n", A);
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
A=0.0000