Java Guessing game based on positions.
User Generated
Natryvp Wrafra
Programming
Description
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.
This question has not been answered.
Create a free account to get help with this and any other question!
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!