Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define a class named Teacher consists of the following attributes: name and hours worked. Add another constant named RATE = 30.00 per hour. Methods included in the class are:  computePay( ) – return salary based on numbers of hours worked multiply by RATE.  displaySalary( ) – received an object from class Teacher to display name, hours worked and salary obtained. In driver class named TestTeacher, create an array of 5 objects from class Teacher and call method displaySalary( ). #14

Open
Peiruz opened this issue Aug 17, 2020 · 0 comments

Comments

@Peiruz
Copy link

Peiruz commented Aug 17, 2020

Someone please help me....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant