import java.util.*; public class Array { public static void main(String[] args) { Scanner s = new Scanner(System.in); // Input statement System.out.println("Enter the size of the array"); int size = s.nextInt(); int a[] = new int[size]; int i; // To enter the initial elements for(i=0;i