#include
using namespace std;
int main()
{
int a[5] = { 1,2,3,5,4 };
int b[5];
for (int i = 0; i<=4; i++)
{
b[4 - i] = a[i];
}
for (int i= 0; i < 5; i++)
{
cout << b[i] << endl;
}
system("pause");
return 0;
}



