static void Main(string[] args) { ConsoleHelper.WriteText($"Greetings!\nThis programm generates the random one-dimensional array and calculates sum of its non-negative values.\n"); int[] array = ArrayGenerator.GenerateOneDimensional(); ArrayProcessor.CalculateNonNegativeSumm(array); ConsoleHelper.PressAnyKey(); }
static void Main(string[] args) { ConsoleHelper.WriteText($"Greetings!\nThis programm generates and sorts the random one-dimensional array and finds it min/max values.\n"); int [] array = ArrayGenerator.GenerateOneDimensional(); ArrayProcessor.FindMax(array); ArrayProcessor.FindMin(array); ArrayProcessor.BubbleSort(array); ConsoleHelper.PressAnyKey(); }