Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 15 Online
OpenStudy (anonymous):

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

OpenStudy (rsmith6559):

That code is fine.

OpenStudy (anonymous):

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

OpenStudy (rsmith6559):

Run it and find out.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!