fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. float jr2, l, O;
  5. printf("%f", jr2);
  6. l = 3.14 * jr2 * jr2;
  7. O= 2 * 3.14 * jr2;
  8. printf("%.2f %.2f\n", l, O);
  9. return 0;
  10. }
Success #stdin #stdout 0s 5280KB
stdin
stdout
0.0000000.00 0.00