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

asked by sa
  1. how to see the answer

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

    posted by MathMate

Respond to this Question

First Name

Your Answer

Similar Questions

  1. science

    Write a java program using classes and object to read the em[loyee code (Integer), Imployee name (string), Basic salary )double), Category (Character)then calculate the bonus(double)and the total salary(double)eligible for each
  2. 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
  3. 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
  4. computer programming

    Write a C++ pogram for the following Employee Name and 12 months’ salary. Salary starts with $5000 per month and increments every month by 10% of previous month salary. At the end of the year, the employee is paid a 5% bonus on
  5. Accounting

    DATA: The 2011 employee performance bonus will be $10 mil. The bonus is paid in March of 2012 is $9 mil The 2012 employee performance bonus will be $12 mil. The bonus is paid in March of 2013 Exercise: What is the monthly accrual
  6. statistics

    If a company is thinking of giving one department a 1000 bonus. Based on their means and standard deviation scores which set of employess will do better based on this information? Who should get the bonus? Employee A mean 16.875
  7. 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
  8. math

    Julia had 150 fewer bonus points than Kelly.Bothgirls used tthe same number of bonus points. Julia was left with 1 out of 2 of her bonus pointand Kelly was left with 3 out of 4 of her bonus points.how many bonus did Kelly have at
  9. 7th grade Math

    Mrs.Jackson earned a $500 bonus for signing a one-year contract to work as a nurse. Her salary is $22 per hour. If her first week's check including the bonus is 1,204, how many hours did mrs.jackson work
  10. structure programming

    the gross salary of five employees in maendeleo books enterprise is based on basic salary and additional benefits as follows: a).employees who have worked for the company for more than 10 years receive an additional pay of 10%to

More Similar Questions