Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 07:30, kimhoss2
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
image
Computers and Technology, 24.06.2019 10:50, latresyn
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
image
Computers and Technology, 24.06.2019 17:30, NEONREDBLADE
Match the following. 1. formatting that is applied when cell data meets certain criteria 2. borders with formats not found on the border tool 3. a shortcut bar that contains tools for commonly used formats 4. formats that can be applied to numbers conditional formatting custom borders format bar number formats
Answers: 3
image
Computers and Technology, 25.06.2019 06:00, carolinagarciap8kgmi
In 2 to 3 sentences, describe how you would change the background of a group of cells
Answers: 1
Do you know the correct answer?
Write a program in C that displays information for a payroll check. Your program must contain 6 user...

Questions in other subjects:

Konu
Biology, 30.09.2019 19:00
Konu
Mathematics, 30.09.2019 19:00
Konu
Biology, 30.09.2019 19:00