User Profile
Collapse
-
"C" is the requirement... -
parsing file and getting the alternate token count of matching tokens
I have the following file as the input
APPLE 0 118 1 110 1 125 1 135 2 110 3 107 3 115 3 126
ORANGE 0 112 1 119 2 109 2 119 3 112 4 109 4 128
MANGO 0 136 1 143 2 143 3 143 4 136
BANANA 0 5 1 12 1 15 2 13 3 6 3 9
I need to read the above file and have the following information in the output file
In APPLE 0 occurs 1 time, 1 occurs 3 times, 2 occurs 1 time, 3 occurs 3 times
...
No activity results to display
Show More
Leave a comment: