const N = 100;var a: array[1..n] of integer; i, countp, counts, countz:integer;beginfor i := 1 to n do begina[i] := random( -20, 20 );write ( a[i], ' ' );if a[i] > 0 then inc(countp);if a[i] < 0 then inc(counts);if a[i] = 0 then inc(countz);end;writeln();writeln('Количество положительных чисел: ', countp);writeln('Количество отрицательных чисел: ', counts);writeln('Количество нулей: ', countz); // выводим количество нулей (для проверки, что в сумме у нас 100 элементов)end.