Fionn 3 years ago
parent feb2c7066e
commit 1ef47c6ff5

@ -1,8 +1,6 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
while (true)
{
string mode = "NULL"; int givenCheckNo = 0;
@ -10,14 +8,14 @@ while (true)
Console.Write("Pls input complete EAN:\n-> ");
string input = Console.ReadLine();
if (input == null || input == "") continue;
if (input == "q")
{
Console.WriteLine("Bye bye!");
return;
}
if (input == null || input == "") continue;
string[] split = input.Select(x => x.ToString()).ToArray();
if (split.Count() == 13) mode = "VALIDATE";

Loading…
Cancel
Save