Nalini1998 / Project_Public

MIT License
2 stars 0 forks source link

What is the general purpose of a loop? #551

Closed Nalini1998 closed 1 year ago

Nalini1998 commented 1 year ago

What is the general purpose of a loop?

A. Loops read and recreate code automatically.

B. Loops automatically iterate a block of code based on conditions.

C. All loops help the computer make decisions automatically.

D. Loops iterate through arrays to find elements.

Nalini1998 commented 1 year ago

I chose B. Loops automatically iterate a block of code based on conditions.