hi im new to java and just need a little help in the right direction. I am trying to display an input of int on number at a time. So for example the user would enter 1998 and the output would be:
1
9
9
8
and we have to use the operators / and %. I know that % is to show the remainder but it just doesn't make sense to me how they could output that on each line. I have tried solving this using just / and - but it doesn't work. Also the input can only be a 4 digit Int
BlackNinja 0 Newbie Poster
VernonDozier 2,218 Posting Expert Featured Poster
stephen84s commented: Now I know how to help people who don't know where to start +3
BlackNinja 0 Newbie Poster
VernonDozier 2,218 Posting Expert Featured Poster
BlackNinja 0 Newbie Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.