subject

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.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:20
Consider the following statements, then select one of the answers below: the signal() function shown below registers "sig_handler()" as the signal handler function for the sigkill signal, without the complexity of using when the sigkill signal is sent to a process running this code, by a user typing "kill -kill ", where the correct process id is used for to target the process, sig_handler() will be executed.
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Why do we mark tlc plates with pencil and not with pen
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
Each time you save a document, you will need to type in the file type in which it should be saved you can select the save button to save it with the same file name if it has been previously saved you will need to select the location to save the file you will need to use the save as dialog box
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
An npn transistor is correctly biased and turned on if the a. base is negative. b. collector is negative. c. collector is positive with respect to the emitter and negative with respect to the base. d. collector is the most positive lead followed by the base.
Answers: 1
You know the right answer?
You are asked to write a program to help a small company calculate the amount of money to pay their...
Questions
question
Chemistry, 21.10.2019 22:30
Questions on the website: 13722363