A c program is required that calculates and displays the


A C++ program is required that calculates and displays the weekly gross pay and net pay of two employees. The first employee is paid an hourly rate of $16.43, and the second is paid an hourly rate of $12.67. Both employees have 20% of their gross pay withheld for income tax, and both pay 2% of their gross pay, before taxes, for medical benefits.

a. For this programming problem, how many outputs are required?

b. How many inputs does this problem have?

c. Write an algorithm for converting the input items into output items.

d. Test the algorithm written for Exercise 7c, using the following sample data: The first employee works 40 hours during the week, and the second employee works 35 hours.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: A c program is required that calculates and displays the
Reference No:- TGS02191257

Expected delivery within 24 Hours