System.out.println("What color are your eyes?");
Scanner question2 = new Scanner(System.in);
String eye_color = question2.nextLine();
if(eye_color.equals("green", "blue", "hazel", "brown", "amber")) {
System.out.println("So pretty!");
}
else {
System.out.println("Yeah right, what are you, an alien or something?");
}
i'd like the user input to not be bound by case, example: "Green" vs "green". Is there a way I can accomplish this? Or would I have to use a different method.