- 2

A task C++

Given a matrix A(n,n) to include in the matrix element of a new K line

6th Feb 2018, 2:34 PM
Mad Max
Mad Max - avatar
1 ответ
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
4th May 2020, 9:11 PM
Pavel Soloviov
Pavel Soloviov - avatar