What is the loop else statement?

The else statement is optional and executes if the loop iteration completes normally . If the loop is terminated with a break statement, the else statement will not be executed.

Leave a Reply

Your email address will not be published. Required fields are marked *

What is the loop else statement?

The else statement is optional and executes if the loop iteration completes normally . If the loop is terminated with a break statement, the else statement will not be executed.

Leave a Reply

Your email address will not be published. Required fields are marked *