/stream

Stream (Homework № 9 of the Java Software Development Course).

Primary LanguageJava

Task 1 - Stream

IntStream

Create int array. Get IntStream from it, for which:

  1. Find the average of the elements of the array.

  2. Find the minimum element and return the value.

  3. Count the number of elements equal to zero.

  4. Count the number of elements greater than zero.

  5. Multiply the elements of the array by number.