Write a function that takes two parameters, an integer array and its size. The function should compute and return the number of odd integers in the array, the number of even integers in the array, and the average of all the integers in the array.
If someone could walk me through the solution I'd be very grateful, I understand nothing -cries-
That is the issue, I've tried tutorials, etc.
I just can't wrap my head around return functions or implementing arrays into user-defined functions.
I'm not asking for a simple copy paste solution, I want an explanation to how to solve this question.