A

Admin • 802.91K Points
Coach

Q. Which loop is most readable for running a counter from 1 to 10?

  • (A) for
  • (B) while
  • (C) do-while
  • (D) for-each

Explanation by: Admin
for loop is clean and readable when using counters with fixed limits.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.