Question: Use your own descriptive names for each method. Comment on the names of methods you will be using. I encourage each of you to modify

Use your own descriptive names for each method.
Comment on the names of methods you will be using. I
encourage each of you to modify some or all parts of the
problems slightly to make it your own unique problem.
Comment on your problem definition.
int []salary ={1830,600,1480,580,1040,2000,1460,
1150,510,1050,1760,1870,1430,1160,1770,550,
1570,2000,1180,630,840,1530,1210,1780,690,1110,
1020,660,890,620};
String []jobs ={"Sales","HR","R&D", "Sales", "Sales",
"ACCT", "HR"," R&D"," R&D", "Sales", "HR", "Sales",
" R&D"," R&D", "ACCT", "HR", "Sales", " R&D"," R&D",
"Sales", " R&D","HR","HR", "Sales", "Sales", "HR","HR",
"ACCT", "ACCT", "HR"};
1) Total number of employees in the sales department.
2) Average weekly pay of all employees in the sales
department.
3) Total number of employees in the sales department
making more than $1000 per week.
4) The lowest salary of all employees.
5) The job title corresponding to the employee with the
lowest salary.
6) Average weekly pay of all employees in all of the
departments except sales department. (Use the Not
Operator !).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!