public static void Main(string[] args)
Console.Write("Введите a");
int a =Convert.ToInt16(Console.ReadLine());
Console.Write("Введите b");
int b =Convert.ToInt16(Console.ReadLine());
double sred = (a + b) / 2;
Console.WriteLine("среднее равно: {0} {3}" a, b);