Solved Please Write In Java Only Need One Loopdo Not Use A

Solved Please Write In Java Only Need One Loopdo Not Use A