Write a java program to compute the payroll of an employee

Assignment Help Computer Engineering
Reference no: EM133324739

Assignment: Write a java program to compute the payroll of an employee at a car dealership. There are two types employees: hourly and commissioned. They differ in the way their gross pay is calculated. For hourly workers, gross pay is calculated as follows: • hours worked < 40, ?????????? = h???????? × ?????????????? • hours worked >= 40, ?????????? = 40 × ?????????????? + (h???????? - 40) × ?????????????? × 1.5 For commission worker, gross pay is calculated as follows: • if sales are less than $1000, ?????????? = 200 + ?????????? × .25 • otherwise, ?????????? = 500 + ?????????? × .2 Other calculations for both types: • Federal Tax equals 9% of gross • State Tax which equals 5% of Gross Pay • Net Pay which equals Gross Pay - Federal Tax - State Tax Your program must allow the user to choose the type of employee and then perform the correct calculations. Without a return statement.

Reference no: EM133324739

Questions Cloud

Explain how the stepwise management assists : Explain how the stepwise management assists healthcare providers and patients in gaining and maintaining control of the disease
Explain the approach using a pseudocode or actual code : If an Information Retrieval system could pull from sorted documents in 5 subject areas. Math, Science, History, Art and Social Studies. Create an algorithm
What is scientific racism : What is "scientific racism"? How could it possibly lead to genocide? What is eugenics? Is it still relevant today?
Discuss what software module clustering is : Discuss what Software Module Clustering is and its relevance to software 8 Marks engineering. Discuss the importance of Database testing.
Write a java program to compute the payroll of an employee : Write a java program to compute the payroll of an employee at a car dealership. There are two types employees: hourly and commissioned.
What does riding the tails of a distribution mean : What does "riding the tails" of a distribution mean? How is this relevant to discussions of gender, gender bias, and sexism? Discuss.
Discuss what software module clustering is : Discuss what Software Module Clustering is and its relevance to software 8 Marks engineering. Discuss the importance of Database testing.
Describe similarities between taylorism and weberian : Describe the similarities between Taylorism and Weberian bureaucracy and How do formal and informal groups within organizations differ
Advantages and disadvantages of phone surveys : Telephone surveys are fast and efficient. Why not conduct all surveys by phone? In your answer, discuss the advantages and disadvantages of phone surveys.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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