#include <stdio.h>int main(){int ok1=1;int ok2=2;int ok3=3;int x=15;if (!ok1) x--;else if (ok2) if (ok3) x=3;else x=4;printf("%d", x);}
Standard input is empty
3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!