Showing posts with label Else If Ladder. Show all posts
Showing posts with label Else If Ladder. Show all posts

Write down about the else if ladder

The else if ladder :

When a multipath decision is involved then we use else if ladder. A multipath decision is a chain of ifs in which the statement associated with each else is an if. It takes the following general form,