fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. double a;
  5. scanf("%lf",&a);
  6. printf("%lf\n",3.14*a*a);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 5280KB
stdin
4
stdout
50.240000