In the childrens game Out of Order, the user is presented with a series of valuesfor example,

Question:

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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java Programming

ISBN: 9780357673423

10th Edition

Authors: Joyce Farrell

Question Posted: