fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4.  
  5. {
  6.  
  7. int a = 10;
  8.  
  9. if (a==10)
  10.  
  11. puts("First condition is true");
  12.  
  13. else
  14.  
  15. puts("First condition is false");
  16.  
  17. if (a< 9)
  18.  
  19. puts("Second condition is true");
  20.  
  21. else
  22.  
  23. puts("Second condition is false");
  24.  
  25. if (a= 9 + 1)
  26.  
  27. puts("Third condition is true");
  28.  
  29. else
  30.  
  31. puts("Third condition is false");
  32.  
  33. return 0;
  34.  
  35. }
Success #stdin #stdout 0s 4520KB
stdin
Standard input is empty
stdout
First condition is true
Second condition is false
Third condition is true