Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

minimallinux

  • 3 years ago

I messed this one up, is the first time the loop executed count taken as the initial value ? http://dpaste.com/810540/

  • This Question is Closed
  1. rsmith6559
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    That code is fine.

  2. minimallinux
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    No, I meant that does it take the first count on the initial loop and not the incremented one (hence printing 'H'

  3. rsmith6559
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Run it and find out.

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy