I have to take a file with the format:
97865467
3
10
3
5
7
9
93689383
6
6
10
8
2
4
99836353
ect...
where the 8 didgit numberis an id number and the six numbers (on the six lines) following, are marks.
and with this file i must add up the six marks and put them next to the id number for each person so i edn up with a file looking like this:
99823634 34
99383635 50
ect...
any help on how i would go about this would be greatly appreciated
thanking you!
97865467
3
10
3
5
7
9
93689383
6
6
10
8
2
4
99836353
ect...
where the 8 didgit numberis an id number and the six numbers (on the six lines) following, are marks.
and with this file i must add up the six marks and put them next to the id number for each person so i edn up with a file looking like this:
99823634 34
99383635 50
ect...
any help on how i would go about this would be greatly appreciated
thanking you!