In this exercise, you use the Employee class from Pencil and Paper Exercise 4 to create an

Question:

In this exercise, you use the Employee class from Pencil and Paper Exercise 4 to create an Employee object. Follow the instructions for starting C++ and viewing the TryThis7.cpp file, which is contained in either the Cpp8\Chap15\TryThis7 Project folder or the Cpp8\Chap15 folder. (Depending on your C++ development tool, you may need to open this exercise’s project/solution file first.) In the TryThis7 Employee.hheader file, enter the #include and using namespace std; directives. Then enter the class definition you created in Pencil and Paper Exercise 4. Next, complete the TryThis7.cpp file by entering the appropriate instructions. Use the comments as a guide. Save and then run the program. Test the program by entering your name, a current salary amount of 35000, and a raise rate of 0.05. The program should display your name, current salary ($35000), and new salary ($36750).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: