Computer Science, asked by aanyakkumar24231, 2 months ago

Q11. Write a program by creating an 'Employee' class having the following functions and print the final salary

Answers

Answered by GEETANJALIJASROTIA
0

Answer:

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

Similar questions