五千年(敝帚自珍)

主题:谢谢各位了,我自己来行了! -- 锦候

共:💬28 🌺9
全看分页树展 · 主题 跟帖
家园 一步一步来

建议如下:

1. First step, try to read a text file line by line

2. Use the split() function to put the readings into a string array. From the array, it's easy to find out the upperbound, so you will know how many figures in that line.

3. If you have not trouble doing step 1 and 2, you now can consider use a data structure to hold the readings, such as System.Collections.Generic.Dictionary(Of Integer, String), use the sales person id as the key.

4. Loop through the collection, to perform your calculation.

Good luck with your assignment!

全看分页树展 · 主题 跟帖


有趣有益,互惠互利;开阔视野,博采众长。
虚拟的网络,真实的人。天南地北客,相逢皆朋友

Copyright © cchere 西西河