Question
Project 1 - Bingo Assistant. (In C language) For this project we want you to create a program that will assist in the playing of
Project 1 - Bingo Assistant. (In C language)
For this project we want you to create a program that will assist in the playing of bingo. The program should create valid bingo calls and check if user supplied bingo calls are valid. If you are unfamiliar with bingo, here are what bingo cards look like. There are 5 columns with values in each column. The first column is B and can have values between 1 and 15 (inclusive) in the column. The second column is I and can have values between 16 and 30 (inclusive) in the column. The remaining columns follow the same pattern of 15 possible values.
Your program should:
Prompt the user whether they want to create or check bingo calls
If create bingo calls
Prompt the user for the number of values to be called
Create a valid bingo call
Display the call to the user
If check bingo calls
Prompt the user for the bingo call
Read in the bingo call to be checked
Check if call is valid and display an appropriate message
Sample Output: (The bold values are user input and are for display purposes only)
Welcome to the Bingo Caller program.
This program generates and checks bingo calls that can be used when playing Bingo.
Would you like to:
(1) generate bingo calls
(2) check bingo calls
(3) exit
1
How many bingo calls you like to have generated? 5
Here are your 5 bingo calls:
G51
N39
B7
O62
I22
Would you like to:
(1) generate bingo calls
(2) check bingo calls
(3) exit
2
Enter the bingo call you would like to have checked, 0 to exit: B17
B17 is NOT a valid bingo call
Enter the bingo call you would like to have checked, 0 to exit: I17
I17 is a valid bingo call
Enter the bingo call you would like to have checked, 0 to exit: 0
Would you like to:
(1) generate bingo calls
(2) check bingo calls
(3) exit
3
Thank You for using the bingo call generator/checker.
Grading:
35 points will be for style, and the point breakdown is described in post @7 (we haven't discussed functions so we expect everything to be in main() at this point) 10 points for appropriate output prompts
15 points for reading in user input
10 points for creating valid Bingo Calls
10 points for checking whether user supplied Bingo Calls are valid
10 points creating the requested number of Bingo Calls
10 points for looping (waiting for option 3 on main menu or waiting for option 0 when checking bingo calls)
Extra Credit (5 points for each of the following)
make sure that generated values are not repeated (e.g., you only display B5 once).
handle input gracefully. If you are expecting a number and receive a character, let the user know and continue your program.
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