Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

import javautilScanner public class EmployeeData private static final int NUMEMPLOYEES 10 public sta... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing An International Approach

Authors: Wally J. Smieliauskas, Kathryn Bewley

6th edition

978-0070968295, 9781259087462, 978-0071051415

More Books

Students also viewed these Programming questions

Question

Give two reasons why controls would be tested.

Answered: 1 week ago