Calculate employees raise based on performance rating

Assignment Help Data Structure & Algorithms
Reference no: EM131216463

Programming ASSIGNMENT

Algorithms and Output Specification

Implementation Details for an Employee's Raise and Tax calculation

This program should be implemented using only one class named Assignment3. The program must contain a main method only.

The program should give two options to the user:

1. Calculating the raise for an employee, which will be based on employee's performance
2. Calculating the tax for an employee

Main Menu Display

As the program starts, a menu is to be displayed which gives two options to the user:

Choose from an option below (1 or 2):

1. Calculate raise for an employee
2. Calculate tax for an employee Your choice:

The user will enter a number, either 1 or 2.

After the user enters a valid action your program will use a switch statement to go to the appropriate case.

1. Calculate Raise for an employee

The first option is to calculate raise for an employee.

a. Ask the user and read an employee's annual salary

Enter current annual salary of employee:

b. Ask the user and read an employee's performance rating

Enter the performance rating (Excellent, Good, or Poor):

c. Calculate employee's raise based on performance rating

For excellent performance, employees get a 6% raise on their current salary
For good performance, employees get a 4% raise on their current salary
For poor performance, employees get a 1.5% raise on their current salary

d. Calculate new salary of employee by adding the raise to their current salary

e. Display the amount of raise and new salary for employee (Format the amounts to display as currency). Hint: Use getCurrencyInstance() from NumberFormat class

2. Calculate Tax for an employee

The second option is to calculate tax for an employee.

a. Ask the user and read an employee's annual salary

Enter current annual salary of employee:

b. Calculate employee's tax based on the following tax bracket For salary in the range (100000, 150000]

Tax is computed as: tax = (currentSalary - 100000) * 0.1 For salary in the range (150000, 250000],
Tax is computed as: tax = 5000.0 + (currentSalary - 150000) * 0.2 For salary > 250000,
Tax is computed as: tax = 25000.0 + (currentSalary - 250000) * 0.3

c. Display the amount of tax for employee (Format the amounts to display as currency).

Reference no: EM131216463

Questions Cloud

Which of the following best describes bob change of role : Mark, an HR manager, is responsible for the HR planning process in his organization. He has reviewed the organization's strategic plans. Which of the following is most likely to be Mark's next step in the planning process?
Make purchasingthe product more pleasing and rewarding : Which type of diferantation refers to companies sucessfully desing their distribution medium's exposure,proficiency,and perfomanceto make purchasingthe product more pleasing and rewarding?
How central authentication be handled in linux environment : How will central authentication be handled in the Linux environment. How will printing be handled? Explain. How can shared files be encrypted. Determine the hardware to be used and the installation options.
Audit program for the bsf ltd : HI6026 AUDIT, ASSURANCE, AND COMPLIANCE - Discuss the steps that you need to consider before accepting to do an audit and apply them to BSF Ltd and discuss what should be included in an audit program for the BSF Ltd.
Calculate employees raise based on performance rating : Calculate employee's raise based on performance rating. For excellent performance, employees get a 6% raise on their current salary. For good performance, employees get a 4% raise on their current salary.
Identify the key stakeholders in the government : Act as the Council members and provide important leadership considerations for the mayor in preparing to implement the water sustainability plan. In building a stakeholder power base, consider stakeholders in the city government. Once you identify..
Discussing the operating budget and variance analysis : ACC 202: Final Project Budget Variance Report. In your opening paragraph, very briefly introduce the purpose of your paper. Recall that you will be discussing the operating budget and variance analysis as explained in your rubric instructions. Thre..
Conduct research on ais - erp systems : HI5019 STRATEGIC INFORMATION SYSTEMS - Conduct research on AIS/ERP Systems for your client, including define business processes, develop business requirements, determine the systems requirements, software selection and vendor selection.
How analysis guided decision making and results of change : Basically what happened and reaction to news story that is digital media focused. Influence or change to organization, how analysis guided decision making and results of change. This is again on an organization (business) or an individual.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd