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

  Write java program to accept two words as input

Write a Java program that accepts two words as input and determines if one of them is resulting from changing the order of the others' letters.

  Ood methodology

Your local police department wants to design new software to keep track of people, property, and criminal activity. List at least three classes you think should be in the design. For each class, identify some data members and methods.

  Compute area and perimeter of a polygon

Create a project that would let a user compute area and perimeter of a polygon

  Int variable with a boolean variable

In java programming Can we compare int variable with a boolean variable?

  Write down the business needs for a computer program and

write the business requirements for a computer program and identify which entities are to be modeled using object

  Create a tic-tac-toe

create a tic-tac-toe

  Determine and print the weekly rate.

Write the Java Statements that retrieve the age of the child and the number of days the child will be at the day care center.

  Consider a class that could be used to play a game of

consider a class that could be used to play a game of hangman. the class has the following attributesthe secret wordthe

  Tese 14 questions covers java class array link list

these 14 questions covers java class array link list generic class please read carfullynbspnbsp1. suppose we have a

  The main method must repeatedly have the use

After the method is defined, the main method must repeatedly have the user enter 3 integers, call the triangleType method and display the return type. Be sure not to have an infinite loop by allowing the user to quit.

  Prepare a class called geometrycalculator

Calculates the area of a circle of a given radius and write a class called GeometryCalculator that includes the subsequent methods

  Writing messages to a serversocket in java

the server must accept a connection before the client can communicate.

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