using System; class Program { public static void Main() { int[] t = {4, 3, 9, 7, 2, 5}; int n = t.Length; //Az n a tömb mérete int max; //Maximum kiválasztás tétele max = t[0]; for(int i=0; imax) max = t[i]; Console.WriteLine("A legnagyobb elem: {0}", max); } }