Problem

If necessary, create a new project named Intermediate24 Project and save it in the Cpp7\...

If necessary, create a new project named Intermediate24 Project and save it in the Cpp7\Chap14 folder. Also create a new source file named Intermediate24.cpp. If you are using Microsoft Visual C++, copy the Intermediate24.txt file from the Cpp7\Chap14 folder to the Cpp7\Chap14\Intermediate24 Project folder. Use a text editor to open the Intermediate24.txt file, which contains payroll codes and salaries. Close the Intermediate24.txt file. Create a program that allows the user to enter a payroll code. The program should search for the payroll code in the file and then display the appropriate salary. If the payroll code is not in the file, the program should display an appropriate message. The program should allow the user to display as many salaries as needed without having to run the program again. Save and then run the program. Test the program by entering the following payroll codes: 10, 24, 55, 32, and 6. Stop the program.

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