I am asking this question again because the answers I got didnot compile :( Plea
ID: 3616398 • Letter: I
Question
I am asking this question again because the answers I got didnot compile :( Please HelpDesign a Payroll classthat has that has fileds for an employee’s name, ID number,hourly pay rate, and number of hours worked. Write the appropriateaccessor and mutator methods and a constructor that accepts theemployee’s name and ID number as arguments. The class shouldalso have a method that returns the employee’s gross pay,which is calculated as the number of hours worked multiplied by thehourly pay rate. Write a program that demonstrates the class bycreating a Payroll object,then asking the user to enter the data for an employee. The programshould display the amount of gross pay. I am asking this question again because the answers I got didnot compile :( Please Help
Explanation / Answer
x.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.