I want to make a yes or no system,but it won’t work.Where did I go Wrong?
string decision;Console.WriteLine(“Do you want to continue?Type yes or no”);decision = Console.ReadLine();if (decision == yes){goto start;}else if (decision == no) { }
I want to make a yes or no system,but it won't work.Where did I go Wrong?
string decision;Console.WriteLine("Do you want to continue?Type yes or no");decision = Console.ReadLine();if (decision == yes){goto start;}else if (decision == no) { }
Use Console.Write instead of Console.WriteLine. That should fix it.
You need to log in to upload images from your computer.
Admin has disabled this function.
You can also sign in by :