The work was to write a code that uses arrays. I take a persons name then how much they sold. Have that put into an array then added up and give the average. That much I understand and was very easy. I am having trouble on where I put in the condition so ask did person A sell >= to the average if so print his name and do that for every person in the array.
So my question is how do you get a question to loop into an array and ask it for each one.
Do I put it in the indein or indexout for loop or some where else.
please some one give me a little bit of help more then surf the web or ask my teacher. its extra credit and I really need it lol