What is a for loop used for?

A “For” Loop is used to repeat a specific block of code a known number of times . For example, if we want to check the grade of every student in the class, we loop from 1 to that number. When the number of times is not known before hand, we use a “While” loop.

Sizin İçin Seçtik  How do you check if a value is a number in Dart?

Leave a Reply

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

What is a for loop used for?

A “For” Loop is used to repeat a specific block of code a known number of times . For example, if we want to check the grade of every student in the class, we loop from 1 to that number. When the number of times is not known before hand, we use a “While” loop.

Sizin İçin Seçtik  Madenciler kaç tl maaş alıyor?

Leave a Reply

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