thank you
Last edited on
what do you want to make 2 dimensional and why?
the variable
You should specify sizes of each dimension/ For example

const int N = 10;
const int M = 20;
int x[N][M];
so thank you

Last edited on
If I have correctly understood you have to write

const int N = 20;
int x[2][N];

for ( int i = 0; i < N; i++ )
out << "ENTER NUMBER:";
cin >> x[0][i];
cout << "ENTER VOTE:";
cin >> x[1][i];
Topic archived. No new replies allowed.