title: c programming..difference between counter controlled loop and logic controlled loop
body: <p>I was reading the control flow in C programming it said better to use &quot;while loop&quot; for logic controlled loops and &quot;for loop&quot; for counter controlled loop.</p>
  <p>My confusion is that I could not understand the difference between the counter controlled and the logic controlled loops?</p>