I imported the java.util.Random and then I created a random object called myGenerator. When I try to declare my random number as a String I get an error:
Error: cannot find symbol
symbol: ...
Type: Posts; User: thegorila78
I imported the java.util.Random and then I created a random object called myGenerator. When I try to declare my random number as a String I get an error:
Error: cannot find symbol
symbol: ...
Here is the question assigned to me in class...
Suppose you want to develop a program to play lottery. The program randomly
generates a lottery of a two-digit number, prompts the user to enter a...