I need to increase all elements in salaries array by percent, calculate inside salaryIncrease function the salary increment of each element and return the accumlated salary incr