What is the syntax of The if...elseif....else Statement ?
By Abhijit Paul
if...elseif...statement..........
Teacher SiliconIndia replied to Abhijit Paul Wednesday, March 17, 2010
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;
}