Create a Raptor program that inputs a list of employee names and salaries stored in parallel arrays.
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a Raptor program that inputs a list of employee names and salaries stored in parallel arrays. The salaries should be floating point numbers in increments of 100 (where a salary of $36,000 should be input as 36.0 and a salary of $85,900 should be input as 85.9). Program finds the mean (average) and displays the names and salaries of employees who earn within a range of $5,00 from the mean (where if the mean salary is $45,000, all employees who earn between $40,000 and $50,000 should be displayed)
Related Book For
Data Structures and Algorithms in Java
ISBN: 978-1118771334
6th edition
Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser
Posted Date: