Răspuns:
Explicație:
#include <iostream>
using namespace std;
int n, i, j, v[100], t[100][100];
int main()
{
cout << "n= "; cin >> n;
cout << "introdu " << n << " numere naturale " << endl;
for (i=0; i<n; ++i)
cin >> v[i];
for (j=0; j<n; ++j)
{
for (i=0; i<n; ++i )
{
if (j%2==0) t[n-i-1][j]=v[i];
else t[i][j]=v[i];
}
}
cout << "Tabloul bidiminseonal: \n";
for (i=0; i<n; ++i)
{
for (j=0; j<n; ++j)
cout << t[i][j] << " ";
cout << "\n";
}
}