Question: Programming Problem : Using Microsoft Visual Studios. C#. This program demonstrates your understanding of the two-dimensional array. Create an application that generates a 2D array

Programming Problem : Using Microsoft Visual Studios. C#.

This program demonstrates your understanding of the two-dimensional array. Create an application that generates a 2D array of 20 rows x 20 columns, each position in the array will contain a randomly generated 1 (to represent a bomb) or 0 (no bomb).

The user selects two coordinates and your program will count how many no bomb guesses the user makes before they hit a bomb.

Programming Notes

You must use a method called GenerateRandomNumber to generate the random array

You must use a method called FindLocation to determine the value in the user entered coordinates

Add a button to Play Again.

Your Deliverables:

-Copy and Paste a your code from Form1 here.

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!