Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Page | 1 Bonus 2 Project Information-MIND SWEEPER! As a bonus project, it is up to the student to research and investigate what is needed

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Page | 1 Bonus 2 Project Information-MIND SWEEPER! As a bonus project, it is up to the student to research and investigate what is needed to solve the problem and fulfill the stated requirements in this document. I have given many hints along the way, but the rest is up to you. Remember this is an all-or-nothing project meaning that you must complete all requirements to get the credit. I will be glad to answer any questions you might have to help you along. For readability, the screen shall display red text on a white background. An outer loop will drive the program allowing the user to continue generating boards until the user types an 'N' to quit. The loop shall accommodate upper or lower case characters. As input, your program shall get the number of mines from the user. Limit this range to between 10 and 50 inclusive. You will need a validation loop for this. If the user enters a number out of range, the program will continue to prompt for input until a valid number is entered. When a valid number is entered, your program will dynamically fill a string variable with the board output - this includes pipes "I", dashes"+ mines surrounding that board location, and the In' new line escape character. When the program finishes a given board, it will use a single "cout" statement to display the board. Generating output incrementally using "cout" statements is not allowed anM for a mine location, a number indicating the number of First run of 10 mines-note number of mines input validation. FACIS ClassesCiS 201Summer 2017\CIS251 501Addn1 Course ContentMind." Welcone to MIND SWEEPER - Please enter, the nurter of tines:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

2. What recommendations will you make to the city council?

Answered: 1 week ago