Question: Create a program in java using JOptionpane class for input and output, you can also use java.util.Arrays If you needed. The Really Awesome Computing Corporation

Create a program in java using JOptionpane class for input and output, you can also use java.util.Arrays If you needed.


The Really Awesome Computing Corporation (RACC) has decided they want to give 



The Really Awesome Computing Corporation (RACC) has decided they want to give everyone in the company (all 10 employees) a 10% raise for all of their hard work. However, before this happens, RACC has to make sure they can afford such a jump in payroll costs. Write an efficient program that will prompt for the names and current salary for each of the employees within the company. Salaries must be valid (between $0 and $95,000, inclusive), otherwise it will print an error message. For each employee entered, calculate and print the employee name and individual pay increases. Once all 10 employees have been entered, print the total cost for the proposed increase across all employees. Note: Your program must use modules. Sample Input/Output: Input Enter Employee 1 name: Alex Enter Employee 1 Salary: 40000 Enter Employee 2 name: Bob Enter Employee 2 Salary: 60000 Enter Employee 3 name: Peter Enter Employee 3 Salary: 20000 Enter Employee 4 name: Allen Enter Employee 4 Salary: 75000 Enter Employee 5 name: Jenny Enter Employee 5 Salary: 55000 Output Employee Name: Alex Employee Salary after increase: 44000 Employee Name: Bob Employee Salary after increase: 66000 Employee Name: Peter Employee Salary after increase: 22000 Employee Name: Allen Employee Salary after increase: 82500 Employee Name: Jenny Employee Salary after increase: 60500 **Total Employee Salary after increase: 275000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import javaxswingJOptionPane import javautilArrays public class EmployeeSalaryIncr... View full answer

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 Programming Questions!