if(condetion){
assignment 0;
blockcode;
}
els if(condetion){
assignment 1;
blockcode;
}
elseif(condetion){
assignment 3;
blockcode;
}
else{
assignment 4; // here i dont need the blockcode.
}
is there any other technique to aviode writing the same blockcode for almost cases??