Question

/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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top