Write a program that generates a random number from 0 through 9 and allows the
user to guess the number. Display one of three messages depending on whether the
guesser was exactly correct, within two of the random number, or off by more than two.
(Appendix E contains information on how to generate a random number.)
Comments
Leave a comment