# Sorting a List and Displaying Mean

Simple Array Process

? Input a list of employee names and salaries, and determine the mean (average) salary as well as the number of salaries above and below the mean. Use the top-down modular approach and pseudocode to design a suitable program to solve it.

Please generate only the pseudocode (a simple one) - No charting is required, but you may have to incorporate the bubble sort algorithm (like the ones below) to determine the number of salaries above and below the mean.

(see diagram in attached file)

Â© BrainMass Inc. brainmass.com March 6, 2023, 2:36 pm ad1c9bdddfhttps://brainmass.com/computer-science/sorting/sorting-list-displaying-mean-96480

#### Solution Preview

The document "Array Process.doc" in the attached compressed file, contains the pseducode for finding the mean salary as well as the number of ...

#### Solution Summary

The document "Array Process.doc" in the attached compressed file, contains the pseducode for finding the mean salary as well as the number of salaries above and below the mean taking as input the salary[1..N] array. It uses the subrouting BubbleSort to sort the array according to the flowchart given.