Description
Create the follow program using Raptor, pseudocode, flowcharting, or Python per your instructor, Use the concepts, techniques and good programming practices that you have learned in the course. You have unlimited attempts for this part of the exam.
Input a list of employee names and salaries stored in parallel arrays. The salaries should be floating-point numbers in increments of 100. For example, a salary of $36,000 should be input as 36.0 and a salary of $85,900 should be input as 85.9. Find the mean (average) salary and display the names and salaries of employees who earn within a range of $5,000 from the mean. In other words, if the mean salary is $45,000, all employees who earn between $40,000 and $50,000 should be displayed. NOTE: The values used in the scenario are for demonstration purposes; the values used in your program should be based on the floating-point datatype and increments of 100.
Display the following using proper labels. Save your file using the naming format LASTNAME_FIRSTNAME_M08 FE
1. Display the names and salaries of all the employees.
2. Display the average of all the salaries
3. Display all employees that are within 5,000 range of the average.
Documentation is very important for this course and in the field. For all Raptor and all programs, an expectation is that comments will be incorporated into all assignments. For this assignment only the header comments will be required. Both header comments and step comments are encouraged as it will help for logic to be better. Header comments should include the following:
- Name of the Raptor program
- Author of the Raptor program
- Version of the Raptor program and the date of its last revision
- Summary/goal of the Raptor program
- Variables used with a short description of the variable, as well as the format of the data (e.g. datatype).