I have to design and implement an application that determines and prints the number of odd, even, and zero digits in an interger value.
ex Console.Out.ReadLine("Enter any interger.");
int aValue = int.Parse(Console.In.ReadLine));
Say they enter 1230
Then the output should read something like this
Odd = 2
Even = 1
Zero = 1
The problem is that I don't know how to capture the individual parts of the number and need some help. Someone please point me in the right direction.