Purchase Solution

Sorting a List and Displaying Mean

Not what you're looking for?

Ask Custom Question

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)

Purchase this Solution

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.

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 ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Basic Networking Questions

This quiz consists of some basic networking questions.