Write a program in JAVA to generate random integer in a between 1 to 1000 and give the user three
chance to guess the correct number. If he/she guesses it correctly in three time display
“winner”
Else display “better luck next time”.
Answers
Answered by
1
Please refer the attached image
Attachments:
Similar questions
Math,
3 months ago
Social Sciences,
3 months ago
English,
3 months ago
Computer Science,
6 months ago
Physics,
6 months ago
Chemistry,
10 months ago
Economy,
10 months ago