#include <iostream>
using namespace std;
int main()
{
int a[11] = {1,2,3,4,5,6,7,8,9,10,12};
int i = 0;
int j = sizeof(a) / sizeof(a[0])-1;
while (i < j)
{
int temp = a[i];
a[i] = a[j];
a[j] = temp;
i++;
j--;
}
// cout << j << endl;
for (int i = 0; i < 11; i++)
{
cout << a[i] << endl;
}
system("pause");
}