Write a program that flips (i.e. prints backwards) a sequence of integers. Your program should first ask the user how large the sequence is and the read the sequence. In the end it should print the sequence from end to beginning.
Example run:Write a program that cyclically shifts a sequence of integers some specified number of positions to the right. To make this more precise, your program should first ask the user how many integers there are in the sequence. Then it should read the integers from standard input. Then it should ask how many positions to the right the sequence should be shifted and finally it should produce the shifted sequence.
For example, a typical run would look like this:For both programs you should submit to me by email the source code (i.e. the .cpp files). Your programs don't have to interact with the user in exactly the way shown above, but it must be obvious how to use them without reading the code.