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

  Discuss the edge is in cloud computing

Discuss the "Edge" is in cloud computing. What is it? Why is it important? What impact will it have on the industry? Alternatively, what are some of the areas.

  Modifying the database table

A database table comprises of the following columns: employee's name, SS#, job-title, years-in-job, hiring-date, and base-salary.

  How many memory locations can be addressed

A computer system has a word addressable memory. Each word is 32 bits (4 bytes) wide, and sytem uses 24-bit addressing. How many memory locations can be addressed?

  Write a paper on vulnerabilities for each operating system

Research four major operating systems' vulnerabilities and write a paper on these vulnerabilities for each operating system. Consider the following operating.

  What effect does have on the address translation process

The PMMU can be programmed to treat the high-order three address bits from the 68020 address bus in a special way. What way and why?

  Analyze what is the field of cpted

Analyze what is the field of Crime Prevention Through Environmental Design (CPTED) and identify some of the strategies that deter crime in urban communities.

  Objectives for adopting an erp system

1. Read the complete case study to ensure you fully understand the SAP implementation and its outcomes. 2. Use your knowledge of the Motiwalla & Thompson textbook, chapters 5-9 inclusive and at least 4 academically sound external sources, to devel..

  Probability sampling techniques

Sampling. Describe how probability sampling techniques could provide samples more representative of a target population than simple random sampling. Illustrate your answer with a information technology example

  What would be the benefits and drawbacks for crowdsourcing

Any company which is familiar and has some kind of data or micro-labor need the company might have. Compose an initial response that addresses the following.

  What do you perceive as the next generation security measure

ECON 3000 University of San Francisco what do you perceive as the Next Generation Security Measures - combine current cyber solutions with good old

  Which of three application transactions must be made atomic

Which of the three application transactions must be made atomic (e.g., specify transaction boundaries) to prevent possible lost update? Why and why not?

  Design a multidisciplinary research project applying

EE 563 Yuan Ze University Design a multidisciplinary research project applying the concepts and principles of Advanced System Analysis and Design with Quality

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