Question: Write a program that prompts the user first to enter the number of employees and then to enter the name and bonus amount for each

 Write a program that prompts the user first to enter the

Write a program that prompts the user first to enter the number of employees and then to enter the name and bonus amount for each employee (the name should be a single string with no spaces, the bonus should be a real number). The program should then display the name and bonus amount for the employee with the highest bonus. Call your file: Bonus. java. Modify the above program to display two employees with the highest bonus amount. (Do not submit a separate program for this, just modify your original code.)

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!