Write a program that plays a guessing game with the user. Have your program read and store an integer (between 1and 10) from the user, and then generate a random number between 1 and 10. The user wins if their number matchesthe number picked at random. Your program should output the random number chosen, and also tell the user if theywon or not.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here