- 2
A task C++
Given a matrix A(n,n) to include in the matrix element of a new K line
1 Answer
0
check next code:
for (int i = 0; i < n; i++) //here you have simple massive
for (int j = 0; j < n; j++) //here you have matrix
for (int p = 0; p < K; p++) /here you have n*n*K matrix
cin >> matr[i][j][k]; //type arrays