public static void Main()
Console.WriteLine("Введите три числа");
var a = Convert.ToInt32(Console.ReadLine());
var b = Convert.ToInt32(Console.ReadLine());
var c = Convert.ToInt32(Console.ReadLine());
if (a >= b && a >= c) Console.WriteLine(a);
else if (b >= a && b >= c) Console.WriteLine(b);
else Console.WriteLine(c);