Computer Science Homework Solutions
Problem
#96480

Array process

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)

Attached file(s):
Attachments
Array Process.doc  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

Array Process.doc
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.

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
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$51.87)
Included in Download
  • Plain text response
  • Attached file(s):
    • Array Process.zip
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse