• + 0 comments

    int a[]=new int[n];

        for(int i=0;i<a.length;i++){
        int b=scan.nextInt();
        a[i]=b;
        }