When you get the scanner working to retrieve input, you might want to read about for loops and array iteration.

Sent from my GT-I9000 using Tapatalk