fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. float f = 6.28;
  6. printf("%.4f\n", f);
  7. printf("%.8f", f);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
6.2800
6.28000021