using System;
public class Small
{
public static void Main(string[] args)
int i = 0;
int small = 0;
int[] arr=new int[3];
Console.WriteLine("enter the elements:");
for(i=1;i<arr.Length;i++)
Console.Write("Element[" + (i + 1) + "]: ");
arr[i] = int.Parse(Console.ReadLine());
}
small = arr[0];
if(small>arr[i])
small=arr[i];
Console.WriteLine("The smallest Number in an array is:"+small);