fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. float pi;
  6. double db;
  7. scanf("%f",&pi);
  8. printf("pi=%.2f\n",pi);
  9.  
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5324KB
stdin
3.1415
stdout
pi=3.14