Problem

In this exercise, you create a simple payroll program using a main function and four voi...

In this exercise, you create a simple payroll program using a main function and four void functions.

a. Figure 10-39 shows the IPO chart information for the payroll program. Complete the C++ instructions column for the main function and for the three void functions (calcFedTaxes, calcNetPay, and displayInfo). The FWT (Federal Withholding Tax) rate is 20% of the weekly salary, and the FICA (Federal Insurance Contributions Act) rate is 8% of the weekly salary.

b. If necessary, create a new project named Intermediate19 Project and save it in the Cpp7\Chap10 folder. Enter your C++ instructions into a source file named Intermediate19.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the taxes and net pay with two decimal places.

c. Save and then run the program. Test the program using 500 and 650 as the salary.

Figure 10-39

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search