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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started