Question: Use the Problem-Solving Strategy discussed in section 1.1 (pages 27 to 29) and section 7.5 (pages 435 to 445) of the Prelude to Programming book
Use the Problem-Solving Strategy discussed in section 1.1 (pages 27 to 29) and section 7.5 (pages 435 to 445) of the Prelude to Programming book to develop a solution to the problem above. Write a paragraph to discuss each of the following areas as it relates to the problem below:
Problem Statement
Problem Analysis
Program Design
Program Code
Program Test
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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
