Easy Java

profileckayvoe

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

    • 5 years ago
    • 20
    Answer(0)
    Bids(0)