Problem

Complete Figure 5-38 by writing the algorithm and corresponding C++ instructions. Employ...

Complete Figure 5-38 by writing the algorithm and corresponding C++ instructions. Employees with a pay code of either 4 or 9 receive a 5% raise; all other employees receive a 3% raise. If necessary, create a new project named TryThis9 Project and save it in the Cpp7\Chap05 folder. Enter the C++ instructions into a source file named TryThis9.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the new pay in fixed-point notation with two decimal places. Save and run the program. Test the program using 1 and 500 as the pay code and current pay, respectively. The new pay should be $515.00. Now test the program using the following three sets of input values: 4 and 450, 9 and 500, 2 and 625. (The answers to TRY THIS Exercises are located at the end of the chapter.)

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
Solutions For Problems in Chapter 5