computer,science, java

Inorder to motivate the employees, the company
has decided to announce the different types of bonus depends up on the employee’s Grade.

If the employee belong to
Grade A bonus=20% basic
Grade B bonus=15% basic
Grade C bonus=10% basic
Grade D bonus=7% basic
Grade E bonus=5% basic
Write a Java program to read the employee code (Integer), employee name (string), Basic salary (double),
Category (Character) then calculate the bonus (double) and the total salary (double) eligible for each
employ. The output should have the employee code, employee name, basic salary, grade bonus and the
total salay. The program must use switch-case construct for calculations. Test your program for
minimum of 5 employees.


Sample Output
Employee code : 1234
Employee Name : aaaaa
Basic Salary : 1000 OMR
Grade : A/B/C/D/E
Bonus : 1111 OMR
Total Salary : Basic salary + Bonus

  1. 👍 0
  2. 👎 0
  3. 👁 121
asked by sa
  1. how to see the answer

    1. 👍 0
    2. 👎 0
    posted by sa
  2. See
    http://www.jiskha.com/display.cgi?id=1483264139

    1. 👍 0
    2. 👎 0
    posted by MathMate

Respond to this Question

First Name

Your Response

Similar Questions

  1. Algebra

    "A recent study determined that the distance employees at a pharmaceutical company in New Jersey commute to work each way is normally distributed with a mean equal to 13.4 miles and a standard deviation of 3.6 miles. Management

    asked by Chelle on August 14, 2011
  2. statistics

    I have the following homework question. I also included the work done. Please advise if I am on the right track Thank you!! "A recent study determined that the distance employees at a pharmaceutical company in New Jersey commute

    asked by myrutgers on August 14, 2011
  3. programming

    A retail company assigns a $5000 store bonus if monthly sales are more than $100,000 otherwise a $500 store bonus is awarded. Additionally, they are doing away with the previous day off program and now using a percent of sales

    asked by Jeniffer on May 22, 2012
  4. Civics

    A company decided to pass a policy banning cell phones on their property. A group of employees collected signatures to protest. Many of the co-workers who signed the petition were later fired because the petition was deemed

    asked by Carla on May 24, 2017
  5. Accounting

    I need help in working this problem...please help... Gaines Company recently initiated a post audit program. To motivate employees to take the program seriously, Gaines established a bonus program.Managers receive a bonus equal to

    asked by Anna on June 14, 2012
  6. ICT1511

    Sam works at a coffee company where all the employees receive a bonus of R700, except the employees in the coffee department 3, who receive a bonus of R850. Enter his gross salary and his personal department number. Calculate the

    asked by Kenneth on September 9, 2015
  7. Unisa

    Flow chart of an if-then-else statement Sam works at a coffee company where all the employees receive a bonus of R700, except the employees in the coffee department 3, who receive a bonus of R850. Enter his gross salary and his

    asked by Mako on April 2, 2015
  8. basic programming principles

    .Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of

    asked by mathebula on March 31, 2015
  9. computer programming

    Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of

    asked by theblues on September 7, 2015
  10. Unisa

    1.Do the planning and write an algorithm to solve the following problem. Prepare test data for the example to test all possibilities and draw a trace table. Sam works at a coffee company where all the employees receive a bonus of

    asked by Mako on April 2, 2015

More Similar Questions