A
Amanda
(1) What code should I put in case 'e':?
(2) Should I still put default case?
do
{
Console.Write("Enter a selection from the following
list:\n" +
"a. Display ...................\n" +
"b. Display ....................\n." +
"c. Display ................\n.." +
"e. Exit this program\n");
ch = Char.Parse(Console.ReadLine());
Console.WriteLine("");
switch (ch)
{
case 'e':
????????
} // end switch
} while ( ch== etc.)
(2) Should I still put default case?
do
{
Console.Write("Enter a selection from the following
list:\n" +
"a. Display ...................\n" +
"b. Display ....................\n." +
"c. Display ................\n.." +
"e. Exit this program\n");
ch = Char.Parse(Console.ReadLine());
Console.WriteLine("");
switch (ch)
{
case 'e':
????????
} // end switch
} while ( ch== etc.)