NLP++ supports if-else statements syntax identical to C and C++.
The syntax for if-else statements is:
if (expr)
statement
else
or
block
where a block is a list of statements enclosed in curly braces { }.