Glad you've got it working!
Type: Posts; User: curmudgeon
Glad you've got it working!
What errors?
One thing you should consider, after each in.nextInt(); call in.nextLine(); to swallow the end of line token. This will prevent the Scanner object from swallowing it when you don't want it to, like...
That code that is inside of the while loop block is the code that will be repeated. Now look to see where you ask for the troop name? Is it inside of the while loop block or before it?