Programming question from Java novice

cr0ssfire

Senior member
Sep 10, 2005
379
0
0
I'm currently taking a class in Java, and so far I've been doing very well. The professor usually explains how to do things pretty well, and people do well as a result. But for one of the problems he assigned us over the weekend, he gave us absolutely no explanation on how to do it. This is the problem:

"Design and implement an application that determines and prints the number of odd, even, and zero digits in an integer value read from the keyboard."

I know there has to be something very basic that I'm missing here, but I in my very limited Java knowledge just can't think of how to get it to individually consider the digits. Don't write the program for me or anything, but how would I go about writing this?