Write a C++ Program (in OOP) to calculate and display an employee's raise and new salary. The program details are the fo
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a C++ Program (in OOP) to calculate and display an employee's raise and new salary. The program details are the fo
Write a C++ Program (in OOP) to calculate and display an employee's raise and new salary. The program details are the following: • A class called Salary Raise with private data members for the current salary, rate of raise, the raise amount and the calculated new salary. • A public function get_inputItems(), task is to get the information of the employee • A public function calculate_raise(), task is to calculate the raise of the employee (by applying the raise rate) and calculate the new salary of the employee A public function display_raise(), task is to display both the calculated raise and the new salary Also, add feature in the program that will ask the user to repeat or not the execution of the program.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!