#include #include using namespace std; int main () { setlocale (0,"russian"); srand (time(NULL)); short N; int sum=0; int max=0; cout << "N=";</span> cin >> N; int *array=new int [N]; for (short i=0;i array[i]=rand()%201-100; cout << "Получившийся массив: " << endl;<br> for (short i=0;i { cout << array[i] << ' ';<br> sum+=array[i]; } for (short i=0;i { if (max max=array[i]; } cout << endl;</span> cout << "Сумма элементов: " << sum << endl;</span> cout << "Максимальное число: " << max << endl;<br> system ("PAUSE"); return 0; }