public static void Main()
Console.WriteLine("Enter the length of the array");
int lengthOfTheArray = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the values in the array");
int[] inputArray = new int[lengthOfTheArray];
for(int i = 0;i < lengthOfTheArray;i++)
inputArray[i] = Convert.ToInt32(Console.ReadLine());
for(int i = 0;i < lengthOfTheArray;i++)
Console.WriteLine("Minimum Value: "+ min);
Console.WriteLine("Maximum Value: "+ max);