diff --git a/Program.cs b/Program.cs index 513e820..e2097c4 100644 --- a/Program.cs +++ b/Program.cs @@ -9,15 +9,6 @@ class Program { Console.Write($"Inserire il numero n. {i + 1}: "); array[i] = Convert.ToInt32(Console.ReadLine()); } - - int max = int.MinValue; - for (int i = 0; i < array.Length; i++) { - if (array[i] > max) { - max = array[i]; - } - } - - Console.WriteLine($"Massimo: {max}"); Console.WriteLine($"Massimo ricorsivo: {Ricorsione(array, int.MinValue, 0)}"); }