I have a 2d array with chars and ints, what i want to do is to use the char to search and sum the ints the file looks something like this
array example:
Flour 1000 January
Eggs 500 January
Butter 500 January
Sugar 600 January
Flour 1200 February
Eggs 500 February
Butter 500 February
Sugar 400 February
Flour 2000 March
Eggs 1000 March
for example i want to use flour and for every occurrence of flour add all and then display the total using the strgcmp function