Question: Write java application to do the following: 1. Declare array names to store names for 10 employees, and array salary to store the salary
Write java application to do the following: 1. Declare array "names" to store names for 10 employees, and array "salary" to store the salary for each of the10 employees. 2. Read the names and salaries for the 10 employees. 3. Find the average for the employees' salaries. 4. Find the minimum salary and the name of the employee who has that minimum salary. 5. Find the maximum salary and the employee number who has that maximum salary. 6. Call method "display" which used to print all data you have from points 3, 4 and 5.
Step by Step Solution
There are 3 Steps involved in it
import javautilScanner public class EmployeeData private static final int NUMEMPLOYEES 10 public sta... View full answer
Get step-by-step solutions from verified subject matter experts
