#include<iostream>using namespace std;int main(){int i=3,j=2,k=-1;if(i>0){if(j>0){i++;}}k=i+j+k;cout<<k;return 0;}
Standard input is empty
5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!