Hi, I am doing a java project, it's due the day after tomorrow. Here is the process:
You think of a number first(0-9999), say it's 5421, and then the computer guess your number ,like say, 5401. Then you tell the computer how many numbers are correct in the corresponding positions. In this situation, 3. Then you keep doing this process until the computer get your number.
Here are the code to start. DO NOT REVISE THE MAIN function since it' required. Just fill in the codes for other functions.