0

I've been asked to write a C++ program that the user enters a five digit integer.

The program then needs to return how many zeros in the number, how many odd numbers and how many even numbers.

I've set it up to %2=0 and %2!=0 to determine if the number is odd or even.

I don't know how to separate the odds and evens.

Any help would be great.

Thanks

Ian