Define a class Employee with the following data members: name, age, basic salary, grade.
Create member methods to (i) accept the details of the employee. (ii) Display name, age
and total salary, where total salary = basic salary + bonus. Bonus for an employee is
calculated as follows:
Grade
Bonus
A
30% of basic salary
W
B.
20% of basic salary
с
10% of basic salary
Answers
Answered by
0
Answer:
isuysvhwijdbdhyyebdodybe
Similar questions