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 SalaryRaise 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.

What do you have so far?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.