0 votes
3 views
by
What are the 3 steps of loop?

1 Answer

0 votes
by
In most programming languages, a for loop consists of three parts: initialization, condition, and increment/decrement. The initialization part is executed only once at the beginning of the loop. It is used to initialize the loop variable with an initial value.
...