public void randomNumbers()
{
//choose random values for lottery numbers
Random rand = new Random();
int pick1 = rand.nextInt(90)+ 10;
System.out.println("The first lottery number is: " + pick1);
int pick2 = rand.nextInt(90)+ 10;
System.out.println("The second lottery number is: " + pick2);
int pick3 = rand.nextInt(90)+ 10;
System.out.println("The third lottery number is: " + pick3);
//compare to entered numbers and print results
System.out.println("Your numbers were: " + a+", " + b+", " + c);
System.out.println("The winning numbers are: " +pick1+", " +pick2+", " +pick3);
if (((a== pick1)||(a== pick2)||(a== pick3)) && ((b== pick1)||(b== pick2)||(b== pick3))&&((c== pick1)||(c== pick2)||(c== pick3)));
{ System.out.println("CONGRATULATIONS YOU WON!!! ");
}else
System.out.println("I'm sorry you did not win.");
}