How might I make an if statement with multiple conditions? I thought I would use ||, but when I use this, it says "The || operator is undefined for the argument type(s) boolean, java.lang.String"
System.out.print("Which pit would you like to select? ");
String temp = input.nextLine();
{
if(temp == "A" || "a")
pit = 13;
else if(temp = "B" || "b")
pit = 12;
else if(temp = "C" || "c")
pit = 11;
else if(temp = "D" || "d")
pit = 10;
else if(temp = "E" || "e")
pit = 9;
else if(temp = "F" || "f")
pit = 12;
else
System.out.println("Not a valid pit!");