Quote:
|
Are they usually a confusing subject to learn at first?
|
No, loops is usually the first a beginner learns, and the concept is one of the primary targets of computing; loops is used to repeat something, and computers has a high ability to make repetetive task easy for us, tell a computer what to do and it can do the same thing as many times you want without more effort from you. For-Each is just as common loop as For-Next, it is like saying "do as specified with one item.. and do the same with all other items". Other loops include Do/While which usually means keep doing something over and over until condition says stop.