Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java You should have alsready written a payroll program for a company where single people get paid $10 per hour and married people get

In Java

You should have alsready written a payroll program for a company where single people get paid $10 per hour and married people get paid $15 per hour and they get paid an extra $1 per hour for their first four children.

Your program will now deduct income tax according for the following income tax brackets:

Weekly income Income Tax Rate
Under $300 No Tax
$300 - $399.99 5%
$400 - $599.99 8%
$600+ 10%
As before your program will ask whether the employee is married or not. You will read in a "0" for single and a"1" for married. Then you will ask how many children the employee has. Then you will ask for the number of hours worked and calculate gross pay income tax and net pay. As usual, the employee will get time and a half after 40 hours.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data Concepts, Theories, And Applications

Authors: Shui Yu, Song Guo

1st Edition

3319277634, 9783319277639

More Books

Students also viewed these Databases questions

Question

Brief the importance of span of control and its concepts.

Answered: 1 week ago

Question

What is meant by decentralisation?

Answered: 1 week ago

Question

Write down the Limitation of Beer - Lamberts law?

Answered: 1 week ago

Question

Is this investment worthwhile? Why or why not?

Answered: 1 week ago