Using the knowledge in computational language in JAVA it is possible to write the code being Input a list of employee names and salaries and store them in parallel arrays
<h3>Writting the code in JAVA:</h3>
<em>BEGIN</em>
<em>DECLARE</em>
<em>employeeNames[100] As String</em>
<em>employeeSalaries[100] as float</em>
<em>name as String</em>
<em>salary, totalSalary as float</em>
<em>averageSalary as float</em>
<em>count as integer</em>
<em>x as integer</em>
<em>rangeMin, rangeMax as float</em>
<em />
<em>INITIALIZE</em>
<em>count = 0;</em>
<em>totalSalary =0</em>
<em />
<em />
<em>DISPLAY “Enter employee name. (Enter * to quit.)”</em>
<em>READ name</em>
<em />
<em>//Read Employee data</em>
<em>WHILE name != “*” AND count < 100</em>
<em />
<em>employeeNames [count] = name</em>
<em>DISPLAY“Enter salary for “ + name + “.”</em>
<em>READ salary</em>
<em>employeeSalaries[count] = salary</em>
<em>totalSalary = totalSalary + salary</em>
<em>count = count + 1</em>
<em />
<em>DISPLAY “Enter employee name. (Enter * to quit.)”</em>
<em>READ name</em>
<em />
<em>END WHILE</em>
<em />
<em>//Calculate average salary with mix , max range</em>
<em>averageSalary = totalSalary / count</em>
<em>rangeMin = averageSalary - 5</em>
<em>rangeMax = averageSalary + 5</em>
<em />
<em>DISPLAY “The following employees have a salary within $5,000 of the mean salary of “ + averageSalary + “.”</em>
<em />
<em>For (x = 0; x < count; x++)</em>
<em>IF (employeeSalaries[x] >= rangeMin OR employeeSalaries[x] <= rangeMax )</em>
<em>DISPLAY employeeNames[x] + “\t” + employeeSalaries[x]</em>
<em>END IF</em>
<em>END FOR</em>
<em>END</em>
See more about JAVA at brainly.com/question/12978370
#SPJ1