Starting from:

$15

program reads in a sequence of numbers

The program reads in a sequence of numbers (doubles) from standard input until 0 is read, and stores them in an array. It then computes the maximum number stored in the array, the count of negative numbers, and computes the sum of positive numbers, using recursion.

More products