the algorithm for summing the salaries of N employees presented in the text performs a loop that consists of adding one salary to the total and advancing a pointer on the e