oh I see.
Have you tried to use Modulo ( % )?
Did you figured it out on how to get each digit using modulo and division?
Type: Posts; User: dicdic
oh I see.
Have you tried to use Modulo ( % )?
Did you figured it out on how to get each digit using modulo and division?
Well suggest you to use the nextLine() method of Scanner,
store it in a String variable then use toCharArray() method of String to print each character (digits)
that would be easier than using...