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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, bombbomb2157
Eva has many contacts on the professional networking site she uses which contacts are considered second degree
Answers: 3
image
Computers and Technology, 22.06.2019 19:20, mayaparness
Write a program that prompts the user to input a string. the program then uses the function substr to remove all the vowels from the string. for example, if str = "there", then after removing all the vowels, str = "thr". after removing all the vowels, output the string. your program must contain a function to remove all the vowels and a function to determine whether a character is a vowel.
Answers: 2
image
Computers and Technology, 22.06.2019 21:30, Nathaliasmiles
The graph shows median weekly earnings for full-time workers according to education level. which can you not conclude?
Answers: 2
image
Computers and Technology, 24.06.2019 13:00, giulissaf
Append and make table queries are called queries. select complex simple action i think action
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 in other subjects:

Konu
Mathematics, 29.05.2020 02:59
Konu
Mathematics, 29.05.2020 02:59
Konu
Mathematics, 29.05.2020 02:59