Question: CODE MUST BE IN C# (CSHARP)!!!! Wagner has been getting into triangles recently and would like a program that can draw them for her. She

CODE MUST BE IN C# (CSHARP)!!!!

Wagner has been getting into triangles recently and would like a program that can draw them for her. She would like to see what they looked like while in mint condition and in modern day condition (with pieces missing)

Enter 1 to display full triangle

Enter 2 to display partial triangle

Enter 3 to exit

If the user enters anything other than 1, 2, or 3 they should be informed it was an invalid choice and prompted with the menu again.

Write a program that displays a solution in this structure, but the structure can go from 3-9 rows. These rows should generate randomly.

(No hardcoding please! Solution should use nested loops)

O

O O

O O O

O O O O

Create a random number generator that will randomize the spots that have stone.

Write a program that outputs a randomized pattern like the following:

(No hardcoding please! Solution should use nested loops)

O

O

O O

O O O

Random rnd = new Random();

Int number = rnd.Next(2);

Returns a number between 0-1

CODE MUST BE IN C# (CSHARP)!!!!

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!