Page 1 of 1

syntax of nested if else

Posted: Fri Sep 13, 2019 9:18 am
by archanasinghr
//nested if else statement
if (test expression1)
{
// statement(s)
}
else if(test expression2)
{
// statement(s)
}
else if (test expression3)
{
// statement(s)
}
.
.
else
{
// statement(s)
}

Edit don_apple: topic moved from german to english section.