6.14 LAB: Shift right
Write a program that reads a list of integers from input into an array and modifies the array by shifting each element to the right one position and by shifting the last element to the first position. The input begins with an integer indicating the number of values that follow. Output the modified array and end with a newline. Assume the array will always contain fewer than 20 integers.
Ex: If the input is:
6 2 4 6 8 10 12
The output is:
12 2 4 6 8 10
For coding simplicity, follow every output value by a space, including the last one. Do not use functions. Do not use vectors.
415800.2711300.qx3zqy7