Do fast. Need code with screenshot of code and output Would downvote for incorrect

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%

Do fast. Need code with screenshot of code and output

Would downvote for incorrect 

BINGO!
ASSIGNMENT: Develop an automated version of the exciting
game of Bingo.
INCLUDE IN YOUR ASSIGNMENT: Annotation is a major
part of any program. At the top of each of your C++ programs,
you should include an appropriate header comment. Your
program should include at least one used defined function. You
program should also include annotation explaining the various
loops, functions, variables, and decision structures utilized in
your program.
Generate a virtual card, which contains five columns of five
numbers, noted as follows:
a. The Ist column (B) has five random numbers from 1-
20.
b. The 2nd column (1) has five random numbers from 21-
40.
c. The 3rd column (N) has five random numbers from
41-60.
d. The 4th column (G) has five random numbers from
61-80.
e. The Sth column (O) has five random numbers from
81-100.
f. No duplicate values are allowed on any board.
The card generated for a game in this problem looks something
like.
BIN GO
1637 44 61 90
5 40 55 63 99
20 39 51 73 94
2 25 60 71 86
11 22 47 79 82
1.) The computer generates a random list of distinct numbers
(no duplicates), to be used as the numbers called out
during game play.
II.) As the numbers from the list are called out, a comparison
to your card is performed.
III.) If your card contains the number called out, a marker(*)
is placed next to the entry of your card with an
appropriate message.
IV) You win the game when your card has markers in
a. all entries across any row,
b. all entries down any column,
c. along any full diagonal, or
d. in all four corners.
V.) The game is over if the 50th number is called out and a
winning combination has not been achieved.
The results of the game should include:
1.) an indication if you won/lost,
II.) an indication of how you won (completed row, column,
diagonal, or four comers)
III.) the final card (numbers should be right aligned under the
BINGO letters, asterisks to the right),
IV.) the quantity of numbers called out,
V.) the list of numbers called out, and
VI.) a request to see if vou wish to play again
Transcribed Image Text:BINGO! ASSIGNMENT: Develop an automated version of the exciting game of Bingo. INCLUDE IN YOUR ASSIGNMENT: Annotation is a major part of any program. At the top of each of your C++ programs, you should include an appropriate header comment. Your program should include at least one used defined function. You program should also include annotation explaining the various loops, functions, variables, and decision structures utilized in your program. Generate a virtual card, which contains five columns of five numbers, noted as follows: a. The Ist column (B) has five random numbers from 1- 20. b. The 2nd column (1) has five random numbers from 21- 40. c. The 3rd column (N) has five random numbers from 41-60. d. The 4th column (G) has five random numbers from 61-80. e. The Sth column (O) has five random numbers from 81-100. f. No duplicate values are allowed on any board. The card generated for a game in this problem looks something like. BIN GO 1637 44 61 90 5 40 55 63 99 20 39 51 73 94 2 25 60 71 86 11 22 47 79 82 1.) The computer generates a random list of distinct numbers (no duplicates), to be used as the numbers called out during game play. II.) As the numbers from the list are called out, a comparison to your card is performed. III.) If your card contains the number called out, a marker(*) is placed next to the entry of your card with an appropriate message. IV) You win the game when your card has markers in a. all entries across any row, b. all entries down any column, c. along any full diagonal, or d. in all four corners. V.) The game is over if the 50th number is called out and a winning combination has not been achieved. The results of the game should include: 1.) an indication if you won/lost, II.) an indication of how you won (completed row, column, diagonal, or four comers) III.) the final card (numbers should be right aligned under the BINGO letters, asterisks to the right), IV.) the quantity of numbers called out, V.) the list of numbers called out, and VI.) a request to see if vou wish to play again
Sample Final Output
BINGO
---- --- --
---
16* 37* 44* 61* 90*
5* 40* 55* 63 99
20 39 51 73* 94
2 25* 60 71 86
11 22 47 79 82
This card was a WINNER in because it completed a row.
The 39 numbers called out during the game were...
43,35,13,52,34,16,62,29,04,78,30,73,97,25,89,23,96,03,53,
14,
55,61,76,88,80,09,37,81,99,18,08,65,95,31,90,05,75,40,44.
Would you like to play again?
Transcribed Image Text:Sample Final Output BINGO ---- --- -- --- 16* 37* 44* 61* 90* 5* 40* 55* 63 99 20 39 51 73* 94 2 25* 60 71 86 11 22 47 79 82 This card was a WINNER in because it completed a row. The 39 numbers called out during the game were... 43,35,13,52,34,16,62,29,04,78,30,73,97,25,89,23,96,03,53, 14, 55,61,76,88,80,09,37,81,99,18,08,65,95,31,90,05,75,40,44. Would you like to play again?
Expert Solution
steps

Step by step

Solved in 3 steps with 7 images

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY