while (input != "6")
{
if (input == "1")
{
Console.WriteLine("Press 1 for, View ");
Console.WriteLine("Press 2 for, Add ");
[b]Console.WriteLine("Press 3 for, Return to previous menu");[/b]
string input2 = Console.ReadLine();
while (input2 != "4")
{
if (input2 == "1")
{}
if (input2 == "2")
{}
[b] if (input2 == "3")
{
return;
}
[/b]
}
}
if (input == "2")
{
Console.WriteLine("hey");
}
}
if (input == "3")
{
Environment.Exit(0);
}
This post has been edited by JackOfAllTrades: 16 January 2014 - 06:00 PM
Reason for edit:: Fixed code tags

New Topic/Question
Reply


MultiQuote


|