I need a program to do the following:
1. Access a file where I would have a list of people each with a different number assigned to them.
2. Ask the user to input one of the numbers
3. return the name which is associated with that number
I have eclipse, and know I need to do something with scanner and sort the array. But I have no idea what.
Any help is appreciated.
1. Access a file where I would have a list of people each with a different number assigned to them.
2. Ask the user to input one of the numbers
3. return the name which is associated with that number
I have eclipse, and know I need to do something with scanner and sort the array. But I have no idea what.
Any help is appreciated.
Comment