fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. double x = 55.0;
  5. x /= 100;
  6. x *= 100;
  7. printf(x == 55.0 ? "Equal\n" : "Not equal\n");
  8. printf("%.20lf", x);
  9. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
Not equal
55.00000000000000710543