import java.util.Scanner;public class VectorsQ22
{
static Scanner kelet = new Scanner(System.in);
static final int ARRAY = 20;
// ===========//
public static void getnums(int[] a)
{
for (int i = 0; i <= 20; i++)
{
System.out.println("הכנס מספר");
a[i] = kelet.nextInt();
}
}
// ===========//
public static void MoveLeft(int[] a)
{
for (int i = 0; i <= 20; i++)
{
for (a[i] = 0; a[i] <= 20; i++)
{
a[i] = a[i + 1];
}
}
}
// ===========//
public static void GetKTimes(int[] a)
{
int K;
for (int i = 0; i <= 20; i++)
{
for (a[i] = 0; a[i] <= 20; i++)
{
System.out.println("כנס את מספר ההזזה הסיבובית");
K = kelet.nextInt();
}
K = a[i + 1];
}
}
// ===========//
public static void Print(int[] a)
{
for (int i = 0; i < 20; i++)
{
System.out.println(a[i]);
}
}
// ===========//
public static void main(String[] args)
{
int[] a = new int[ARRAY];
getnums(a);
MoveLeft(a);
GetKTimes(a);
Print(a);
}
}