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

  Implements the measurable interface

Implement a class Quiz that implements the Measurable interface. A quiz has a score and a letter grade (such as B+).

  Write a program to solve rsa

Write a program to solve RSA, Use either Java or "VERY DETAILED" pseudocode. Take input for p, q, e, the number to encrypt and the number to decrypt.

  Define a class called counter an object of this class is

define a class called counter. an object of this class is used to count things so it records a count that is a

  Follow the projects suggestion

Be sure that you follow the projects suggestion and create a separate class for the word analysis. An instance of this class and its methods should then be called by your GUI interface.

  Write a graphical application that draws a spiral

Write a graphical application that draws a spiral, such as the following

  Objective to learn the use of comments and basic math

objective to learn the use of comments and basic math operators.create a new folder called assign21 under

  Describing the use of java in the first intel version

Describing the use of Java in the first Intel version of the Solaris Operating system by Sun Microsystems

  In java programming objects are stored on stack

In java programming Objects are stored on Stack. True/False

  Write a recursive instance method

Write a recursive instance method

  Inheriting from the jframe class

What is the difference between inheriting from the JFrame class and using a JFrame member variable?

  Output the number of tails using the constant array

Assume that this program compiles and runs. Assume that the user enters 5 0 (separated by a space) for input. What is the output. As always, be precise when showing your output. Output the number of Tails using the constant array for the "Tails" h..

  Use of java api to perform interactive i/o in java

To gain experience designing and writing your own Java Program, To use of Java APIs to perform interactive I/O in Java programming, To declare variables and constants appropriately

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