fork(4) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. double pi = 3.14;
  6. double x = 3.1;
  7. double b = (4.1 - x) * pi;
  8. if (pi == b) {
  9. puts("pi == b\n");
  10. } else {
  11. puts("pi != b\n");
  12. }
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
pi != b