How to do nested if statement | SoloLearn: Learn to code for FREE!


How to do nested if statement

if statement

2/22/2017 7:16:42 PM

حسام بدارين

3 Answers

New Answer


Nested if is when you have if statements inside another if statement, how to write it depends on the lenguage you are using, but it is just the same way you write one if statement but with other(could be one or more) if statement inside



Nested IF is IF statement in another IF statement. For the statement to execute all the IFs must be satisfied. For most programming languages, the syntax is If(condition) If(condition) : : If(condition)