Собсна на c++
#include
#include
using namespace std;
int main()
{setlocale(LC_ALL, "Russian");
const int N = 5, M = 5;
int a[N][M];
int min;
cout << "Zapolnite matricu 5 na 5: " << endl;<br>for (int i(0); i < N; i++)
{ for (int j(0); j < M; j++)
{ cin >> a[i][j]; }}
min = a[0][0];
for (int i(0); i < N; i++)
{ for (int j(0); j < M; j++)
{ if (min > a[i][j])
min = a[i][j]; }}
cout <<"Minimal`nii element: "<< min << endl;<br>_getch();
return 0;}