java code to display a digit from the right most value in a given numbers, like 123456
What have you done so far? What problem are you having?
This sounds like homework. This is the right place to get help with your homework, but don’t expect anyone to do the homework for you. We can try to assist with specific questions.
I agree with fire-eggs. Maybe you haven’t idea how to solve the problem, but try to do a solution and if your solution have problems put here and we try to help you and also we can suggest other ideas to do a best solution
I hope to be useful. Good luck
What do you mean? That the text should display “654321”? Or just “6”?