this is my final code,, would you pls help me get this right
java Menu driven code
choices only in letters A, B , C
import java.util.*;
public class Letters {
public static void Menu()
{
System.out.println("Menu");
System.out.println("A. Summary report for a sales employee ");
System.out.println("B. Print a pattern");
System.out.println("C. Exit the porgram");
}
public static String()
{
String num;
char an;
Scanner console = new Scanner(System.in);
num = console.next();
an = num.charAt(0);
while (an != A || an != B)
{
System.out.println("Invalid entry Try again") ;
num = console.next();
}
return an;
}
public static void main(String[] args)
{
String s;
char c;
Scanner console = new Scanner(System.in);
Menu();
s = console.next();
c = s.charAt(0);
while (c != C)
{
Menu();
c = s.charAt(0);
}
System.out.println("Goodbye");
}
}