Frage

/THIS IS A HOMEWORK QUESTION/

I have a .txt file containing the information:

000001    commercial       200000.00 101
000002    commercial       200000.00 101
000003    residential      100000.00 102

I need to separate this data into a set, to organize by commercial/residential, and add double value based on the 101,102 ID's.

War es hilfreich?

Lösung

You just have to read each line into a string and then use it's split method with space character as delimiter.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top