Search found 1 match

by archanasinghr
Fri Sep 13, 2019 9:18 am
Forum: [EN] Off-topic
Topic: syntax of nested if else
Replies: 0
Views: 755

syntax of nested if else

//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.