#include
#include
#include
#include
#include
#include
using namespace std;
const int SIZE = 20;
int arr[SIZE] = { -1, 1, 5, 2, -4, 0, 7, -2, 5, -9, 3,6,-9,0,-4,4,6,2,13,5 };
void Massiv()
{
cout << "new Array:" << std::endl;<br>copy(arr, arr + SIZE, std::ostream_iterator(std::cout, " "));
cout << std::endl;</p>
int memory= arr[0];
for (int k=0;karr [k]=arr[k+1];
arr[SIZE-1]=memory;
cout << "new Array:" << std::endl;<br>copy(arr, arr + SIZE, std::ostream_iterator(std::cout, " "));
cout << std::endl;}</p>
int main()
{
Massiv();
system("pause");
return 0;
}
Второе не понял задания