Write a function in C language, named sums(), that has two inputparameters; an array, called Input of doubles; and an integer whichis the number of values stored in the array and the 4 outputparameters as stated below. Compute the sum of the positive valuesin the array and the sum of the negative values. Also count thenumber of values in each category. Return these four answersthrough output parameters. Write a main program that reads no morethan 20 real numbers and stores them in an array. Stop readingnumbers when a 0 is entered. Call the sums() function and print theanswers it returns.
OR
OR