alright, here is the problem,
i made an array of 10 people,
used for loop to input how many cookies which person ate,
then output that into a table,
on second for loop i can show who ate the most cookies.
But i cant do the same with the minimum, i can do it if there is 0 value in the array but anything more than 0 wont work.
before line 40 put: nMin = anPersons[0];
This sets the minimum value to be initially the first person in your array. Then you can iterate over looking for someone who ate less.