fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. float a=3.16000;
  5. printf("%.2f", a);
  6. return 0;
  7. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
3.16