HI Abhijit,
Use the if....elseif...else statement to select one of several blocks of code to be executed.
if (condition TRUE)
{
code to be executed if condition is true;
}elseif (condition TRUE)
{
code to be executed if condition is true;
}else
{
code to be executed if condition is false;
}
Mar 17, 2010