Sumandcomputeavg

closed account (S2ECpfjN)
I'm trying to understand how to do a void sumandcompute.

The project i'm working on wants me to do...

outer for loop walks through number of employees
inner for loop walks through hours
accumulate each individual hour into sumHours array
calculate emp's avgHours using their sumHours and HOURS_SIZE

I have other examples but they are ascend array and descend array.

Can you help me?
Topic archived. No new replies allowed.