Computer Science, asked by cwevdev, 6 months ago

Write a program by creating an 'Employee' class having the following functions and print the final salary. i. 'getInfo()' which takes the salary, number of hours of work per day of employee as parameters ii. 'AddSal()' which adds $10 to the salary of the employee if it is less than $500. iii. 'AddWork()' which adds $5 to the salary of the employee if the number of hours of work per day is more than 6 hours.

Answers

Answered by kondaraju2013
0

Answer:

while writing the question this much big u can write your self by thinking

Explanation:

sorry

Similar questions