fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. float g = 0;
  5. for(int i = 0; i < 100000; ++i)
  6. g += 0.01;
  7. printf("%f5.2", g); // 1000.00?
  8. }
  9.  
Success #stdin #stdout 0s 4548KB
stdin
Standard input is empty
stdout
1000.6650395.2