Question: I need help writing a computer program in BASIC C LANGUAGE. Also if you can also add comments for future references so I can learn

I need help writing a computer program in BASIC C LANGUAGE. Also if you can also add comments for future references so I can learn from it.

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.

Thank You for Your help! Remember to write it in BASIC C LANGUAGE ( NOT C++)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!