Question
In C only!!!!!!! Write a program that will prompt the user for the number of players (maximum of 5) prompt the user for the number
In C only!!!!!!!
Write a program that will prompt the user for the number of players (maximum of 5)
prompt the user for the number of cards to generate for each player (maximum of 10)
for each card for each player, generate a valid bingo card (5 columns and 5 rows, here are some images of bingo cards
provide a menu for the user to select
which user/bingo card to display
to run a histogram on the bingo cards generated to see how many times each number between 1 and 75 appeared
Now that we have our Bingo Cards we should play Bingo!!!
Create a program that will: do everything from program 2 (create bingo cards) Add an option 4 to your menu for Play Bingo
read in a bingo call (e,g, B6, I17, G57, G65) checks to see if the bingo call read in is valid (i.e., G65 is not valid) marks all the boards that have the bingo call checks to see if there is a winner, for our purposes winning means 5 tokens in a row or column 5 tokens in a diagonal 1 token in each of the 4 corners of the game board Loop accepting bingo calls until there is a winner, and display an appropriate message specifying which user won, print their bingo card, and how they won (5 in a row with calls B6, I20, ...; 5 in a column with calls ...; 5 on a diagonal with calls ... ; 4 corners with calls ...)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started