\[\boxed{\mathbf{Страница\ 88.}}\]
\[\boxed{\mathbf{79.}}\]
\[\mathbf{i}\] | \[1\] | \[2\] | \[3\] | \[4\] | \[5\] | \[6\] | \[7\] | \[8\] | \[9\] | \[10\] |
---|---|---|---|---|---|---|---|---|---|---|
\[\mathbf{a\ \lbrack i\rbrack}\] | \[- 5\] | \[3\] | \[1\] | \[- 4\] | \[- 3\] | \[2\] | \[5\] | \[- 1\] | \[- 7\] | \[4\] |
\[\mathbf{i}\] | \[\mathbf{y}\] | \[\mathbf{z}\] | \[\mathbf{a}\left\lbrack \mathbf{i} \right\rbrack\mathbf{> 0}\] |
---|---|---|---|
\[0\] | \[0\] | ||
\[1\] | \[- 5\] | \[\mathbf{нет}\] | |
\[2\] | \[3\] | \[\mathbf{да}\] | |
\[3\] | \[4\] | \[\mathbf{да}\] | |
\[4\] | \[- 9\] | \[\mathbf{нет}\] | |
\[5\] | \[- 12\] | \[\mathbf{нет}\] | |
\[6\] | \[6\] | \[\mathbf{да}\] | |
\[7\] | \[11\] | \[\mathbf{да}\] | |
\[8\] | \[- 13\] | \[\mathbf{нет}\] | |
\[9\] | \[- 20\] | \[\mathbf{нет}\] | |
\[10\] | \[15\] | \[\mathbf{да}\] |
\[\mathbf{y - сумма\ отрицательных\ }\]
\[\mathbf{элементов\ массива;}\]
\[\mathbf{z - сумма\ положительных\ }\]
\[\mathbf{элементов\ массива.}\]