#include
#include
using namespace std;
int main(){
int a[n][m];
int minA[m];
int min;
for(int i = 0; i < n; i++){
for(int j = 0; j < m; j++){
a[i][j] = rand()% 50 - 10;
cout<<a[i][j]<<" ";</p>
}
cout<<endl;</p>
}
cout <<"Min:"<<endl;</p>
for(int j = 0; j < m; j++){
min = 9999;
for(int i = 0; i < n; i++){
if((a[i][j] > 0) && (a[i][j] < min))
min = a[i][j];
}
minA[j] = min;
cout<<minA[j]<<" ";</p>
}
int max = minA[0];
for(int j = 1; j < m; j++){
if(max < minA[j])
max = minA[j];
}
cout<<endl<<"Max = "<<max;</p>
return 0;
}