using System;
public class Program
{
public static void Main()
int large = 0;
int small = 100;
int[] x = {5,2,8,12,1,19,4,0,21,5};
foreach (int i in x)
if (large < i)
{ large = i; }
}
if (small > i)
{ small = i; }
Console.WriteLine("The largest number among the 10 numbers is " + large);
Console.WriteLine("The smallest number among the 10 numbers is " + small);