If..else...wondering matters

Hi everyone…

Okay…just a quick shoot…Okay it’s easy as pie if I want to short this if…else…



if(some condition){
    do this...
}else{
   do something else...
}

//to simplify it 
((some condition)?do this:do something else);


it’s okay with that…but I just wondering how to short this if…else…if it execute more then one action…eg;



if(some condition){
   do this1
   do this 2
}else{
   do something else1
   do something else2
}

//HOW TO SHORT IT

//just wondering it out..

hope anyone can give me some shed on light…

Thanks