public static void Main()
Console.WriteLine("Welcome user to the app ORDER MY NUMBERS ");
Console.WriteLine("What is your name?");
name = Console.ReadLine();
Console.WriteLine("Nice to meet you " + name );
Console.WriteLine("Give me a number");
x = int.Parse(Console.ReadLine());
Console.WriteLine("Give me a other number");
y = int.Parse(Console.ReadLine());
Console.WriteLine("Give me a other number");
z = int.Parse(Console.ReadLine());
Console.WriteLine("press 0 if he wants the numbers written from lowest to highest or 1 if he wants from highest to lowest");
a = int.Parse(Console.ReadLine());
if (a == 0 && x < y && x < z && z > y)
Console.WriteLine(+ x + "," + y + "," + z );
else if (a == 0 && x < y && x < z && y > z)
Console.WriteLine(+ x + "," + z + "," + y);
else if (a == 0 && y < x && y < z && z > x)
Console.WriteLine(+ y + "," + x + "," + z);
else if (a == 0 && y < z && y < x && x > z)
Console.WriteLine(+ y + "," + z + "," + x);
else if (a == 0 && z < x && z < y && y < x)
Console.WriteLine(+ z + "," + x + "," + y);
else if (a == 0 && z < y && z < x && x > y)
Console.WriteLine(+ z + "," + y + "," + x);
else if (a == 1 && x > y && x > z && z < y)
Console.WriteLine(+ x + "," + y + "," + z );
else if (a == 1 && x > y && x > z && y < z)
Console.WriteLine(+ x + "," + z + "," + y);
else if (a == 1 && y > x && y > z && z < x)
Console.WriteLine(+ y + "," + x + "," + z);
else if (a == 1 && y > z && y > x && x < z)
Console.WriteLine(+ y + "," + z + "," + x);
else if (a == 1 && z > x && z > y && y < x)
Console.WriteLine(+ z + "," + x + "," + y);
else if (a == 1 && z > y && z > x && x < y)
Console.WriteLine(+ z + "," + y + "," + x);
Console.WriteLine("That was not an option and you must start over");