- Joined
- Mar 8, 2011
- Messages
- 1
- Reaction score
- 0
can anyone help me in our project im only 2nd year high school student and im kind a new in java. The problem is:
There exist a File that looks like this:
Name region1 region2 region3 region4 total
Sandler, Adam 20 1 30 4 ___
Cruz, tom 5 10 15 20 ____
Jolie, Angelina 1 2 3 4 _______
Perry, Katty 1 0 2 2 _____
Palito, Josie Enrico Abdul 0 2 2 1 _______
i need to put this in an array and sort it according to family name and i need there sum of all there regions.
and the program must be flexible that you can add or remove a name in the file.
i dont know how to start can anyone help me pls..
There exist a File that looks like this:
Name region1 region2 region3 region4 total
Sandler, Adam 20 1 30 4 ___
Cruz, tom 5 10 15 20 ____
Jolie, Angelina 1 2 3 4 _______
Perry, Katty 1 0 2 2 _____
Palito, Josie Enrico Abdul 0 2 2 1 _______
i need to put this in an array and sort it according to family name and i need there sum of all there regions.
and the program must be flexible that you can add or remove a name in the file.
i dont know how to start can anyone help me pls..