C++ Program Required with arrays

Hi,
I want to write a program that will display the number of even, odd and zero values in an array. The issue is that ,whenever I enter values in array, C++ compiler doesn’t show the result and finishes the output box. Is there any solution for this?
Thanks friends.
