Răspuns:
include <iostream>
using namespace std
int a[205],n;
int main()
{
int i,m;
cin>>m;
n=2*m;
for (i=1; i<=n; i++)
cin>>a[i];
for (i=1; i<=n/2; i++)
cout<<a[i]<<" ";
for (i=n; i>=n/2+1; i--)
cout<<a[i]<<" ";
return 0;
}
Sper ca te va ajuta.
Succes! ♡︎♥︎♡︎