문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top