O'Reilly Forums: Guessing Game - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Guessing Game Why use while loop?

#1 User is offline   msmahon 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 13-February 14

Posted 13 February 2014 - 02:20 PM

Pg. 39 of the book. Chapter 2.

I'm not clear on why a while loop is needed. If you are just going to break at the end no matter what, why even have it?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users