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