Question: Write a C# console application that will display a menu: 1 ) Square 2 ) Rectangle 3 ) triangle Then wait for user input if
Write a C# console application
that will display a menu:
Square
Rectangle
triangle
Then wait for user input if they input a value other than or display a error message.
If they do enter a or display the shape using Console.writeLine show the shape using
I suggest writing the shapes in notepad first.
Use loops and counters
forint line ; line ; line
string output ;
forint index ; index; index
output ;
System.Console.WriteLineoutput;
To do the shapes I suggest a nested loop
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
