Im running into a small error that im just a bit confused on. I have fixed many of the problems ive had but cannot figure out how to get this running. Any help with this error?small error
{
int Y = 0;
int N = 0;
public static void main( String[] args ) throws java.lang.Exception
{
Scanner reader = new Scanner(System.in);
System.out.println("Would you like to play a game? [Y] for yes, [N] for no");
int playGame = reader.nextInt();
if ( playGame == 'Y' )
{
System.out.println("Good then lets continue!");
}
else
{
System.out.println("Have a good day!");
}
System.out.println("Would you like to play Pick 3, Pick 4 or Pick 5? [3] for Pick 3,
[4] for Pick 4, [5] for Pick 5");
int pickGame = reader.nextInt();
if ( pickGame == '3' )
{
System.out.println("You have chosen Pick 3 ");
}
}
}