public static void main(String [] args){
Scanner sc = new Scanner(System.in);
String input = null;
do
{
System.out.println("Enter 'A' for option A or 'B' for option B.");
input = sc.nextLine();
//input.toLowerCase();
//input.charAt(0);
}
while ((input != "a") || (input != "b"));
}