A+ Answers



Question
using pseudo code write a program using Pseudocode to solve the following problem. In your program, make use of subprograms and functions with parameters and arguments.
Input a list of positive numbers (terminated by 0) into an array, find the mean (average) of the numbers in the array, and output the result. Use a subprogram to input the numbers, a function to find the mean, and a subprogram to output the result.
Using pseudo code answer.  Ledger’s Furniture Store has 10 salespeople. Ledger’s wants to produce a combined monthly sales report for all salespeople. Ledger’s wants you to write a program that will allow them to enter data in any order, save the unsorted data to a file, and then produce a file in alphabetical order by name of the salespeople. The unsorted output file should be named “sales_unsorted.txt” and the sorted file should be named “sales_sorted.txt”.
Your unsorted file output should include:
· A list of the salespeople’s names and the monthly sales for each of them.
Your sorted file output should include:
· A list of the salespeople’s name and the monthly sales for each of them.
· At the bottom of the report, list the following:
o The total combined sales for all salespeople.
o The average sales for all salespeople.
o The salesperson with the lowest sales for the month.
o The salesperson with the highest sales for the month.
You must submit the unsorted and sorted files with your RAPTOR program to show that your program ran correctly.