• + 1 comment

    If the problem statement can be written as 'Find the average of postive numbers, negative numbers and zeros in a array'. It would be much easier to understand.