Write a full Java program that: Generate an integer random number between 0 and 6. Then make a loop that keeps asking the user to guess thegenerated random number. If the user input is not equal to thegenerated random number, then print, “Try again” and allow the userto input another guess until the user guess correctly. If the user input is equal to the generated random number, thenprints, “Good guess”. And print how many times did the user guessuntil he/she guessed correctly. . . .
#Sales Offer!| Get upto 25% Off: