public static void Main(string[] args)
int[] iarray = new int[10];
for (int i = 0; i < iarray.Length; i++)
Console.WriteLine("Enter integer number between 1 and 100: ");
iarray[i] = Convert.ToInt32(Console.ReadLine());
Console.WriteLine(input);
int[] xarray = new int[10];
for (int x = 0; x < xarray.Length; x++)
Random myRandom = new Random(x);
xarray[x] = myRandom.Next(1, 100);
for (int index = 0; index < iarray.Length; index++)
if (iarray[index] > xarray[index])
Console.WriteLine("The entered number " + iarray[index] + " is greater than " + xarray[index]);
if (iarray[index] < xarray[randnum])
Console.WriteLine("The entered number " + iarray[index] + " is less than " + xarray[index]);
if (iarray[index] == xarray[randnum])
Console.WriteLine("The entered number " + iarray[index] + " is equal to " + xarray[index]);