Write a program by creating an 'Employee' class having the following methods and print the final salary.
'getInfo()' which takes the employee Id, his salary and number of hours of work per day of employee as parameter
'AddSal()' which adds $10 to salary of the employee if it is less than $500.
'AddWork()' which adds $5 to salary of employee if the number of hours of work per day is more than 6 hours.
Answers
Answered by
3
Answer:
first mark me as brainlist
Similar questions