Computer Science, asked by faizanshahid127, 4 months ago

Write a program by creating an 'Employee' class having the following methods and print the final salary.
1 - 'getInfo()' which takes the salary, number of hours of work per day of employee as parameter
2 - 'AddSal()' which adds $10 to salary of the employee if it is less than $500.
3 - '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 siddhip2611
0

question is not understandable, sorry for that

but plz correct it so that we will be able to understand the question and find out the answer

Similar questions