// 1. Write a program to accept 10 elements in an array and print the elements.
import java.util.Scanner;
class ArrayProgram
{
public static void main()
{
Scanner sc=new Scanner(System.in);
int A[ ]=new int[10];
for(int i=0;i<10;i++)
{
System.out.print("Please Enter the element for A["+i+"]= ");
A[i]=sc.nextInt();
}
for(int j=0;j<10;j++)
System.out.println("The Element A["+j+"]= "+A[j]);
}
}