two problems i can see, rnum is an instance of class Random, it is not a method that returns an int that you can assign to int variable jackpot. Also in your loop when you generate each random number...