Question: In the childrens game Out of Order, the user is presented with a series of valuesfor example, A, B, C, E, D, F and is
In the children’s game Out of Order, the user is presented with a series of values—for example, A, B, C, E, D, F— and is asked to identify the first item in the list that is out of order. Write a program that stores lists of letters, numbers, and words with one element in each list out of order. The lists do not need to be the same size. In turn, pass each list to a generic method named display() that displays the list and the instructions for the game. Accept the user’s answer, and then pass the user’s answer and the correct answer to a generic method named check Answer () that displays both parameters. Save the program as OutOfOrder.java.
Step by Step Solution
3.43 Rating (185 Votes )
There are 3 Steps involved in it
import javautil public class Outoforder public static void mainString args Scanner kb new Scanner Sy... View full answer
Get step-by-step solutions from verified subject matter experts
