Write the missing number game program you will write a


Assignment Problem: Missing Number Game

Write the Missing Number Game Program. You will write a program that will allow a user to play the missing number game.  The game will display a 4 (rows) x 3 (columns) board of numbers that will be predetermined (board 1 is shown below).  The missing number is based on the other numbers displayed on the board; this is based on the sum of the two outer column numbers equaling the center column number;

You will create 3 playing boards using 2D arrays that the game will randomly select from for the user to play.  You will use one 1D parallel array with answers of all three boards for testing and create a 1D parallel array to keep track of the used game boards.  For example, if the board above was board 1 then in your 1D parallel array, index [0] should store the value 14, the answer to the missing number:

Use only whole numbers for this game.

Allow the user to guess three times, after the user has guess three times, indicate they have lost the game and give them the opportunity to play again ( do not allow the same board to be displayed again if they guess the answer correctly).  If they have played all three boards successfully, output a message they are the number guessing champion and exit the program.

Your program must use input validation.

Input Validation:  The program must check to see if the user enters a valid number.  A number greater than or equal to zero must be entered.  If the user does not enter a valid value, display an error message and continue to ask the user to enter the value again until a valid value is entered.

Attachment:- Assignment.rar

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write the missing number game program you will write a
Reference No:- TGS01711562

Expected delivery within 24 Hours