How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Computer Software Engineer
Category: Programming
Satisfied Customers: 12496
Experience:  Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.
29751445
Type Your Programming Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Your company, Datamax, Inc., is in the process of automating

Customer Question

Your company, Datamax, Inc., is in the process of automating its payroll systems. Your manager has asked you to create a program that calculates overtime pay for all employees. Your program must take into account an employee’s salary, total hours worked, and hours worked more than 40 in a week. It must then provide an output that is useful and easily understood by company management.
Compile your program utilizing the following background information and the code outline in Appendix D.
Submit your project as an attachment, including the code and the output.
Company background:
The company has three employees: Mark, John, and Mary.
The end user needs to be prompted for three specific pieces of input—name, hours worked, and hourly wage.
Calculate overtime if the input is greater than 40 hours per week.
Provide six test plans to verify the logic within the program.
Plan 1 must display the proper information for employee #1 with overtime pay.
Plan 2 must display the proper information for employee #1 with no overtime pay.
Plans 3–6 are duplicates of plan 1 and 2 but for the other two employees.
Program requirements:
Define a base class to use for the entire program.
The class holds the function calls and the variables related to the overtime pay calculations.
Define one object per employee. Remember that there will be three employees.
Your program must take the objects created and implement calculations based on the total salaries, total hours, and total number of overtime hours. See the Employee Summary Data section of the sample output.
Logic steps to complete your program:
Define your base class.
Define your objects from your base class.
Prompt for user input, updating your object classes for all three users.
Implement your overtime pay calculations.
Display overtime or regular time pay calculations. See the sample output.
Implement object calculations by summarizing your employee objects and display the summary information in the example.
Sample output:
Welcome to the Employee Pay Center
Enter the employee name = John
Enter the hours worked = 44
Enter his or her hourly wage = 3.33
Enter the employee name = Mary
Enter the hours worked = 33
Enter his or her hourly wage = 2.22
Enter the employee name = Mark
Enter the hours worked = 29
Enter his or her hourly wage = 2.22
Employee Name ............. = John
Base Pay .................. = 133.20
Hours in Overtime ......... = 4
Overtime Pay Amount........ = 19.98
Total Pay ................. = 153.18
Employee Name ............. = Mary
Base Pay .................. = 73.26
Hours in Overtime ......... = 0
Overtime Pay Amount........ = 0.00
Total Pay ................. = 73.26
Employee Name ............. = Mark
Base Pay .................. = 64.38
Hours in Overtime ......... = 0
Overtime Pay Amount........ = 0.00
Total Pay ................. = 64.38
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% EMPLOYEE SUMMARY DATA%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% Total Employee Salaries ..... = 290.82
%%%% Total Employee Hours ........ = 106
%%%% Total Overtime Hours......... = 4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Submitted: 8 months ago.
Category: Programming
Expert:  LogicPro replied 8 months ago.

Hi,

Welcome

Hope you are doing well.

Zip all files; upload the zipped file to http://wikisend.com or http://ge.tt and post download link here.

What is the deadline?

Customer: replied 8 months ago.
it is due on 3/27/2016 at 11:59 CST
The file I sent you will help you with the homework
Expert:  LogicPro replied 8 months ago.

Looking at the efforts, I am sending additional offer. let me know once you accept it.

Customer: replied 8 months ago.
Can you try not to plagiarize
Expert:  LogicPro replied 8 months ago.

These are public pages. You can change the code like variable names etc. Let me know

Customer: replied 8 months ago.
Variable names are fine
Expert:  LogicPro replied 8 months ago.

ok. Le me know once accepted

Customer: replied 8 months ago.
Nah i dont need that offer just thanks tho
Expert:  LogicPro replied 8 months ago.

ok. check back in 12 hours for answer. Is that ok?

Customer: replied 8 months ago.
Ok that's good
Expert:  LogicPro replied 8 months ago.

ok

Expert:  LogicPro replied 8 months ago.

Download answer from here: http://ge.tt/5mwscDZ2

Unzip to get the required files. Run Main.cpp

Expert:  LogicPro replied 8 months ago.

Please read:

https://ww2-secure.justanswer.com/help/do-i-have-rate-answer

http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

Please consider adding bonus

http://ww2.justanswer.com/help/what-if-expert-does-really-fantastic-job-hl

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

LogicPro

Expert:  LogicPro replied 8 months ago.

Hi again,

Please read:

https://ww2-secure.justanswer.com/help/do-i-have-rate-answer

http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

Just following up with you to see how everything is going and if you have more questions for me.

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.

I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!

Thanks very much for using Just Answer!

Best wishes

LogicPro