Given the matrix A (n, m). Form an array B (m), each element of which is the arithmetic average of the corresponding column of the matrix A.
int _tmain(int argc, _TCHAR* argv[]) { setlocale(0,"RUS"); const int n=3, m=4; int arr_A[3][4]={}; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ arr_A[i][j]=rand()%50; } } for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ cout <<" "<< arr_A[i][j]; } cout <<endl; } int sum=0; int arr_B[m]={}; for(int l=0; l<n; l++){ for(int v=0; v<m; v++){