Create java program to calculate the net pay for an employee

Assignment Help JAVA Programming
Reference no: EM131097715

Create a Java Program to calculate the net pay for an employee.

In this payroll program, you will need to allow the user to input the following information:

Input your First Name: Elmer

Input your Last Name: Fudd

Input the Amount of Hours Worked: 10.0

Input the Hourly Rate: 10.0

Pay attention to the data types of the First Name and Last Name (character) and the Hours Worked and Hourly Rate (numeric).

Note that the federal taxes are calculated at 13.5% of gross pay and state taxes are calculated at 7.25% of gross pay.

The following output is expected:

Payroll Information for Fudd, Elmer:

{blank line}

Hours Worked: 10.00

Hourly Rate: 10.00

{blank line}

Gross Pay: 100.00

Federal Taxes: 13.50

State Taxes: 7.25

------

Net Pay: 79.25

All shop standards are to be followed as instructed in class.

The output listed above must be mathematically correct, however, formatting of the numbers with the decimal.

Reference no: EM131097715

Questions Cloud

Change about the nature of competition between the two firms : Suppose that inverse demand is given by p(Q) = a-bQ, where Q is total quantity supplied in the market. There are two firms in the market, each with a cost function of c(q) = cq. If we were to assume that firms competed in prices instead of quantities..
Create a high-level slate machine that initializes a 16x32 : The register file docs 1101 have a clear input; each register must be individually written widl a 0. Do not define 16 states; instead, declare a local storage item so that only a few states need to be defined.
Wireless devices and applications : The greatest value in a course such as Wireless Devices and Applications (WDA) comes from applying the concepts, theories, applications, and devices explored during class. This term project gives you an opportunity to select a topic that interests..
Firm must pay to induce two workers to work for the firm : A monopsonist faces a labor supply curve given by LS = −300 + 0.01w , where w is the annual salary. What is the lowest salary the firm can pay yet still induce one worker to want to work for the firm? What is lowest salary the firm must pay to induce..
Create java program to calculate the net pay for an employee : Create a Java Program to calculate the net pay for an employee. In this payroll program, you will need to allow the user to input the following information Input your First Name: Elmer.
Your theoretical perspective on teaching : Guided Response: You will respond to your classmates who gave you feedback on your draft post.  In addition, post to two classmates on their draft, using the checklist on peer review/feedback to guide your critique.
Main function manipulate : Take a static member variable to count how many objects has been created so far. - Declare an array of 10 Student objects. - Finally from your main function manipulate all.
Capture the following system behavior as an hlsm : Otherwise, if the button is pressed, the system releases a single soda by setting a single-bit output R to 1 for exactly one clock cycle, and the system deducts the soda cost from die deposited amount.
Choosing the correct size of catheter : What is the most important guiding principle when choosing the correct size of catheter?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Functional abstraction

Question 1: What are some of the benefits of modularity? Question 2: What is functional abstraction? Question 3: What is information hiding?

  Calculate payback period and net present value

Calculate payback period (PBP), net present value (NPV), and internal rate of return (IRR). Which project do you recommend for development? Support your recommendation.

  Java gui application

Assume the existence of the following Java GUI application. There are two text fields for user input. The first JTextField variable is named radius and is used to input a radius value.

  Solve the currently very un-pc cigarette smokers problem

Write solution to solve the currently very un-PC"cigarette smokers problem" in java using Java threads, and monitors (using the "synchronized" keyword) (If it bothers your PC sensibilities, think of it at the Pot-smokers problem and then it is all pr..

  Recursion in binary search trees

Assignment is intended to give you practice writing recursive code that traverses a common computer programing structure: a binary search tree.

  Implement a method with three arguments

Implement a method with three arguments: a graph, a starting vertex number, and an ending vertex number. The method determines whether there is a directed path from the starting vertex to the ending vertex.

  Interface named comparison

Create an interface named Comparison whose method can be used to compare two Time object. The Method will include isGreater,isLess,and is Equal.

  Deadlock and starvation

What is the difference between deadlock and starvation.Explain in a sentence or two how you prevented deadlock in your implementation.

  Eplain the main purpose of using javascript on a website

question 1 what is the purpose of using javascript on a website? what is a specific example of a javascript

  Write a version of sumpairs

Write a version of sumPairs  that sums each component of the pairs separately, returning a pair consisting of the sum of the first components and the sum of the second components. So basically [(3,1)(10,3)] would return (13,4).

  What is overloading and what is overriding

What is overloading and what is overriding? Please use code to explain it.

  Develop a java application for the local library

You have been requested to develop a Java application for the local library as part of an upgrade initiative. As in all libraries, this is a place where one can check out books

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