Why is ELSE statement used in a loop?

The else clause of a loop ( for / while ) gets executed only if the loop has completed its execution fully without hitting a break statement (in other words, loop has completed normally). The statements inside the loop’s else clause will get executed once after the loop has completed normally.18 Şub 2021

Sizin İçin Seçtik  What is the loop else statement?

Leave a Reply

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

Why is ELSE statement used in a loop?

The else clause of a loop ( for / while ) gets executed only if the loop has completed its execution fully without hitting a break statement (in other words, loop has completed normally). The statements inside the loop’s else clause will get executed once after the loop has completed normally.18 Şub 2021

Sizin İçin Seçtik  Fenerbahçe Token Binance ne zaman gelecek?

Leave a Reply

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