Question: Project 2 Bingo Card Generator Submit your code to the Project 2 link in Blackboard before 11:59pm on Tuesday 10/17/17 Write a program that will
Project 2
Bingo Card Generator
Submit your code to the Project 2 link in Blackboard before 11:59pm on Tuesday 10/17/17
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
Sample execution
Enter the number of players:5 Enter the number of BINGO cards per player:10 You are playing a game with 5 players and each player will have 10 cards We have generated 50 bingo cards. Please choose an option from the following menu: 1) Display a bingo card 2) run a histogram across all bingo cards generated 3) exit 1 You have chosen 1 Enter the player and players card you would like to display, First player is 0, last player is 4 First card is 0, last card is 9 2 3 B I N G O 3 27 44 59 63 6 19 38 47 75 7 22 free 58 70 14 25 33 55 72 5 16 41 53 74 Please choose an option from the following menu: 1) Display a bingo card 2) run a histogram across all bingo cards generated 3) exit 1 You have chosen 1 Enter the player and players card you would like to display, First player is 0, last player is 4 First card is 0, last card is 9 3 8 B I N G O 14 29 40 52 61 3 17 38 60 65 6 30 free 58 70 7 28 44 46 63 10 16 31 48 69 Please choose an option from the following menu: 1) Display a bingo card 2) run a histogram across all bingo cards generated 3) exit 2 You have chosen 2 1-18 2-12 3-21 4-26 5-18 6-23 7-21 8-17 9-11 10-15 11-12 12-15 13-12 14-18 15-11 16-12 17-19 18-18 19-17 20-18 21-16 22-24 23-16 24-18 25-21 26-12 27-15 28-11 29-18 30-15 31-17 32-17 33-14 34-12 35-11 36-19 37-9 38-20 39-19 40-21 41-23 42-12 43-17 44-17 45-22 46-13 47-16 48-25 49-26 50-10 51-16 52-17 53-13 54-17 55-15 56-23 57-10 58-15 59-16 60-18 61-19 62-18 63-20 64-17 65-12 66-19 67-19 68-15 69-19 70-18 71-15 72-14 73-9 74-18 75-18 Please choose an option from the following menu: 1) Display a bingo card 2) run a histogram across all bingo cards generated 3) exit 3 You have chosen 3 GoodBy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
