Question: You are asked to write a program to help a small company calculate the amount of money to pay their employees. In this simplistic world,

You are asked to write a program to help a small company calculate the amount of money to pay their employees. In this simplistic world, the company has exactly three employees. However, the number of hours per employee may vary. The company will apply the same tax rate to every employee.

Problem Description

Inputs (entered by user of the program)

Name of first employee

Hourly rate

Number of hours worked

Name of second employee

Hourly rate

Number of hours worked

Name of third employee

Hourly rate

Number of hours worked

Tax rate (between 0 and 1.0)

Processing and Output

Calculate and display the amount each employee will be paid before taxes

Calculate and display the amount each employee will be taxed

Calculate and display the amount each employee will be paid after taxes have been withheld

Calculate and display the total amount of taxes the company will withhold

Display your name

You may separate the processing/calculation step from the output step or you may combine those steps. It is your choice.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!