Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Program: (Two-Dimension Arrays) Write a program that displays the description of the classic BINGO game, generates and displays a BINGO card (5x5 square), and

C++ Program: (Two-Dimension Arrays) Write a program that displays the description of the classic BINGO game, generates and displays a BINGO card (5x5 square), and tests the bingo card for a winner via user inputed numbers.

Make sure that the user can test for winners via all BINGO game rules

B column can only contain numbers between 1-15

I column can only contain numbers between 16-30

N column can only contain numbers between 31-45 (Center is Free Space so its given to player)

G column can only contain numbers between 46-60

O column can only contain numbers between 61-75

The numbers have to randomly generate everytime the code is compiled

Here are sample runs:

image text in transcribed

image text in transcribed

C: CMPR121\ExamChapter8) Release Problem1.exe The classic Bingo cards contain 25 squares arranged in five vertical olumns and five side to side rows. ach space in the grid contains a numbe typical Bingo game utilizes the numbers 1 through 75. The five columns f the card are labeled 'B he center space is usually marked 'FS' or 'Free Space'. and is considered utomatically filled. The range of printed numbers that can appear on the ard 1s norma ly restricted y column , 'I''N' 'G' and '' from left to right with the 'B' column only containing numbers between 1 and 15 inclusive with the 'I' column containing only 16 through 30. with the 'N'column containing 31 through 45 with the 'G' column containing 46 through 60. and with the '0column containing 61 through 75 player wins by completing a row. column or diagonal of the called numbers 0 13 17 365065 1 23 33 60 68 16 16 FS48 63 10 20 42 54 62 12 19 39 4972 est by entering 5 unique integer numbers from 0 75 use 0 for FS : 13 1 6 10 ING0 winner

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions