subject

Write a program in C that displays information for a payroll check. Your program must contain 6 user defined functions (not including main). Your first function will ask the user for the total hours worked and your second function will ask for the hourly rate. Your program must contain a function that will accept the hours and rate as arguments, and calculate and return the gross pay. Your program will then send the gross pay to a function that will calculate and return the payroll tax (let’s assume it’s only one tax percentage at 22%). Your program will then call a function that will accept the gross pay and taxes as arguments and return the net pay. Lastly, your program will send all of the data (total hours, hourly rate, gross pay, taxes, and net pay) to a function that will neatly display all of the values. Your function definitions will be located after the main() function, and will all be called from the main() function. Prototypes must be used.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Need asap assignment directions: think of an organization (business, religious institution, volunteer organization, sports team) with which you have been involved. imagine outfitting it with an it infrastructure. prepare a plan for what you would do to support outfitting it. draw a map of a network connecting all the individuals, give them pcs and printers, and lay out the design as best you can. the purpose is to begin working with these concepts, not to build a perfect network.
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
This device directs network traffic. bridge hub nic repeater router switch
Answers: 3
question
Computers and Technology, 24.06.2019 16:30
Which program can damage your computer?
Answers: 1
You know the right answer?
Write a program in C that displays information for a payroll check. Your program must contain 6 user...
Questions
question
Mathematics, 05.05.2020 08:11
question
Mathematics, 05.05.2020 08:11
question
Mathematics, 05.05.2020 08:11
question
Mathematics, 05.05.2020 08:11
question
Mathematics, 05.05.2020 08:11
Questions on the website: 13722360