![]() |
||||||||||||||||||||||||||||||||||||||||||
![]() |
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() |
The Guessing Game is a standard little program that all computer science majors implement at least once in their career. It is quite boring, indeed. Simply guess a number between the indicated values until it matches the one that the computer randomly picked. For those of you who are not computer scientists, see if you can guess the number in as few tries as possible to guarantee it is the correct one. Hint: it should take no more than log2100, or 7, tries. |
|||||||||||||||||||||||||||||||||||||||||
![]() |
![]() |
|||||||||||||||||||||||||||||||||||||||||
Java is a registered trademark of Sun Microsystems, Inc. Last modified on August 17, 2006. © 1999 Brian S. Borowski. All Rights Reserved. |
||||||||||||||||||||||||||||||||||||||||||