Name Hours per day

John 5 6 4 7 8
Jack 7 3 5 7 4
Jill 2 9 4 3 5
James 6 6 2 4 5
Jacob 5 6 6 3 3
Jeremy 5 5 5 8 8
Jim 8 8 4 7 4
Jerry 6 4 5 6 7
Jamie 3 2 6 7 4
If worker payment is $6.50 per hour, write methods to calculate:

Average Working hours for every Worker -> Return array
Average Payment for every worker -> Return array
Total Working hours for every worker -> Return array
Total payment for every worker -> Return array
Sort according to:
Average Pay
Average Working hours
Total Pay
Total Working hours
Write a test program that tests all the methods according to the table above

Similar Questions
    1. answers icon 1 answer
  1. Name Hours per dayJohn 5 6 4 7 8 Jack 7 3 5 7 4 Jill 2 9 4 3 5 James 6 6 2 4 5 Jacob 5 6 6 3 3 Jeremy 5 5 5 8 8 Jim 8 8 4 7 4
    1. answers icon 0 answers
  2. Solve this riddle:One winter day, tragedy struck. John found his friend, Jack, dead. John called the police, stating that he
    1. answers icon 1 answer
    1. answers icon 1 answer
more similar questions