fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i = 100;
  5.  
  6. printf("%d\n", (int)(100 * 0.29));
  7. printf("%d\n", (int)(100 * 0.29f));
  8. return 0;
  9. }
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
28
29