When a if condition is included in the if block of some other if condition then those are called nested ifs.
We can have as many nested ifs and it can go into many levels.
Classify Person CODE class ClassifyPerson OUTPUT Girl DESCRIPTION Here we have two variables THINGS TO TRY
2-min video about nested if statements 2-min quiz video about if and nested if
|