#include <iostream>
int main()
{
int A[20][20];
for (int i = 0; i < 20; ++i)
{
for (int j = 0; j < 20; ++j)
{
A[i][j] = rand() % 100 + 1;
std::cout << A[i][j] << " ";
}
std::cout << std::endl;
}
int min = A[0][0];
int max = A[0][0];
for (int i = 0; i < 20; ++i)
{
for (int j = 0; j < 20; ++j)
{
if (A[i][j] > max) max = A[i][j];
if (A[i][j] < min) min = A[i][j];
}
}
std::cout << std::endl;
std::cout << "Max is " << max << "\n";
std::cout << "Min is " << min << "\n";
system("pause>>null");
}
// a
for (int i = 1; i <= 10; i++)
{
res = pow(i, 2) + pow(9, -i) / exp(-i) + pow(i, pow(i, -i));
cout << res << endl;
}