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.) Save the
program as GuessingGame.cpp.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here