Create the pseudocode for a game application that contains


Question: Create the pseudocode for a game application that contains an array of five (5) multiple-choice questions related to your favorite hobby. Each question contains four answer choices - A..., B..., C..., D... (the ...'s are your potential answers including the correct answer). All four (4) choices for each question should be stored in a parallel array. Also create another parallel array that holds the correct answer to each question-A, B, C, or D. NOTE: all arrays are single-dimension.

When a player starts (launches) this game app, pass each question to a method that displays the question and accepts the player's answer (A, B, C, or D). If the player does not enter a valid (not necessarily a correct) answer choice, force the player to reenter the choice until the player enters a valid (might not be a correct answer) value of A, B, C or D. Return the player's valid (but not necessarily correct) answer to the main program. After the player's answer is returned to the main program, pass it and the correct answer to a method that determines whether the values are equal and displays an appropriate message. After the player answers all five questions, display the number of correct and incorrect answers that the player chose. Be sure to use the concepts of this chapter where appropriate - arguments/parameters, return values, void, etc.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: Create the pseudocode for a game application that contains
Reference No:- TGS0980231

Expected delivery within 24 Hours