Need Help ?

Home / Expert Answers / Other / c-please-and-explain-thankyou-5-bingo-is-a-game-played-with-24-integers-in-the-range-1-75-placed-ran

(Solved): C++ PLEASE AND EXPLAIN THANKYOU!! . . 5 (**). Bingo is a game played with 24 integers in the range ( ...



. . 5 (**). Bingo is a game played with 24 integers in the range (1, 75) placed randomly in a 5 x 5 matrix on a card and a frC++ PLEASE AND EXPLAIN THANKYOU!!

. . 5 (**). Bingo is a game played with 24 integers in the range (1, 75) placed randomly in a 5 x 5 matrix on a card and a free space placed in the middle square of the card. The five columns are named B, I, N, G, and O respectively from left to right. For a card to be valid, it must meet the following requirements: B column can only have integers 1 through 15 I column can only have integers 16 through 30 N column can only have integers 31 through 45 G column can only have integers 46 through 60 O column can only have integers 61 through 75 There is exactly one free space, it is in 3rd square of the N column, and is marked by * on the card. When Bingo is played, 75 balls are placed in a ball machine and stirred. The balls are ejected from the ball machine one at a time and the caller calls the letter and number of the ball ejected in the order that they are ejected. A player marks the numbers called on his card as the numbers are called. For a Bingo, the card must have: 5 numbers that were called in any row, any column, either diagonal or all four corners. The free space may be used to complete any row, column, or diagonal in which it falls. For example, B3, 121, *, 446, and 070 would be a Bingo because they are all on one diagonal. Write a C++ program that plays a simulation of an electronic Bingo game. Have two program options. The first option is the demo mode-a demo mode is required so the program can be graded. In demo mode, the user enters the bingo numbers (i.e. B2, 063, etc.). Separate each value with a space when guessing (inputting to screen). This will allow you to test your logic, results, etc. The second option is game mode. In this mode, the program will randomly generate the bingo numbers. Generate and output one legal bingo card. The middle square, the free square, is marked with an *. Label the card and output with appropriate spacing. Output the bingo numbers called for each card. Check if the bingo number is on the card, if so- mark the cell with an X, and check for a winning pattern listed above. Only one first winning pattern will count. Print a message with the winning card and winning pattern (values). At least one user-defined function must be used. Output should be user friendly. . . Name the program: BingoXX.cpp, where XX are your initials.


We have an Answer from Expert

View Expert Answer

Expert Answer


Answer to . . 5 (**). Bingo is a game played with 24 integers in the range (1, 75) placed randomly in a 5 x 5 matrix on a card and...

We have an Answer from Expert

Buy This Answer $4

Place Order