Organize the lines of code to create a switch statement that checks nextChoice.
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
switch (nextChoice) { case 0: System.out.println("Rock"); break; case 1: System.out.println("Paper"); break; case 2: System.out.println("Scissors"); break; default: System.out.println("Unknown"); }
switch (nextChoice) {.case 0: by printing "Rock" and adding a break;.case 1: by printing "Paper" and adding a break;.case 2: by printing "Scissors" and adding a break;.default: case to print "Unknown".}.