fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int ok1=1;
  5. int ok2=2;
  6. int ok3=3;
  7. int x=15;
  8. if (!ok1) x--;
  9. else if (ok2) if (ok3) x=3;
  10. else x=4;
  11. printf("%d", x);
  12. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
3