Hi am having problems creating a switch statement, in need to creatw the following statements
N Neuromancer
C Count Zero
M Mona Lisa Overdrive
B Burning Chrome
V Virtual Light
Choose a novel from menu above:
c
You chose "Count Zero"
This is a main/driver class.
Use a switch statement to pick a novel by entering the correct character.
- Allow the user to enter upper or lower case.
If the novel is not on the list the program should output this exact string including a newline on the end:
That novel is not on the list
i tried doin it and i ended up with this
public static void main(String[] args) {
Scanner scan = new Scanner (System.in);
String
N = "Neuromancer";
C = "Count Zero";
System.out.println("Choose a novel from menu above:");
N = scan.nextLine();
C = scan.nextLine();
System.out.println("You chose");
switch (operators)
{
case 10:
}
}
}