Catalin Tudoroiu

Catalin Tudoroiu

  • NA
  • 10
  • 10.3k

reading from a text file and store it into an array JAVA

Apr 13 2013 2:50 AM
Hello guys!

I'm new in JAVA programming and I have a problem.
I have a text file with multiple lines (a line looks like this "sugar;23;45") and I want to extract the numbers from each line make a sum with column 2 + column 3 and then store each result in an array.

The output should look as a table.


How could I do this? Can anyone help me?

Answers (1)