1234567891011
sx==2; snumber==2; cout<<sx<<" "<<snumber<<endl; if(sx==1 && snumber==1) cout<<"first output"<<endl; if(sx==1 && snumber!=1); cout<<"2nd output"<<endl; if(sx!=1 && snumber==1) cout<<"3rd output"<<endl; if(sx!=1 && snumber!=1) cout<<"4th output"<<endl;.