In this article,Nested-if control Structure is explained in detail with examples.
In this, you will come to know about the Nested if control structure Using an if-condition block inside another if condition block is known as nested-if.
In this, you will come to know about the Nested if control structure Using an if-condition block inside another if condition block is known as nested-if.
Syntax
if(condition 1)
{
outer true part;
}
if(condition 2)
{
Inner true part;
}
----
}