Question: i need code in java please. Task 2: Write a program that generates a random integer between 1 and 0 (and display the integer), and
Task 2: Write a program that generates a random integer between 1 and 0 (and display the integer), and then asks the user to guess 1 or 0 (input 1 or 0). The game repeats 5 times. Compare the user input with the generated random number each time. Every time the user guesses it right, display "bingo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
