Question: I am completing an extra credit assignment and I'm having issues with my program. Below are my assignment instructions, my code, and my compilation error.
CS 231 A-Computer Progr. -CS231-Programming-L O wildcat cook an eduncscsfs/CS23 1 Programming-I FALL-2017 Lecture 15.pdf target-b112d . 0 JAVA Bonus HW Write programs to: 1- Number guessing game. The program will pick a random number (See class Random) and ask the user to guess that number. The program output 'Too low' or Too high' based on the guess being less than or more than the number. Once the correct guess is entered, the program will print a success message along with the number of iterations the user needed to guess the number. Additionally, The user is to be informed of the range of possible values the program draws from, e.g: 1-20, or 1-100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
