fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. if(0.1+0.1 == 0.2){
  5. printf("0.2 True\n");
  6. }else{
  7. printf("0.2 False\n");
  8. }
  9. if(0.1+0.1+0.1 == 0.3){
  10. printf("0.3 True\n");
  11. }else{
  12. printf("0.3 False\n");
  13. }
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 4308KB
stdin
Standard input is empty
stdout
0.2 True
0.3 False