01
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
3
Answer:
Cells are the basic building blocks of living things. The human body is composed of trillions of cells, all with their own specialised function. Cells are the basic structures of all living organisms. Cells provide structure for the body, take in nutrients from food and carry out important functions.
Similar questions
English,
16 days ago
Economy,
16 days ago
Math,
16 days ago
Business Studies,
1 month ago
Chemistry,
1 month ago
Physics,
9 months ago
Social Sciences,
9 months ago