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 ATLProg Your Own Question
ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9151
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
44910485
Type Your Homework Question Here...
ATLProg is online now
A new question is answered every 9 seconds

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

This answer was rated:

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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Hello Welcome. Thank you for your question, I’m ATLProg and I’ll try to help you.
How soon you need this done?
Customer: replied 4 years ago.

i need the assignment done by May 10, 2013


below is a supplemental document need for the assignment


 


 


http://wikisend.com/download/208708/final1supp.doc


 


how soon can you have the assignment back to me or should i ask will it be back on or before the 10 of May 2013?

Please check back in 3 days or so i will have it ready for you by then
Customer: replied 4 years ago.

thank you for your help

no problem
Download Answer Link I hope I’ve provided the information you were seeking. If you are happy with my service, please provide a rating. If not, please let me know so l can continue to help you. Thank you.
Please start your question text with "For ATLProg Only" to request me again, next time you need help!
http://www.justanswer.com/homework/expert-atlprog/ - Please bookmark this link to ask new question.
Customer: replied 4 years ago.

Hello


Thank you for completing the project. I am experiencing some compile errors. Below is a screen shot of the error. Have I done something wrong?


 


http://wikisend.com/download/248072/compileerror.docx

Pls download Visual Studio 2010 project from Download Answer Link

Unzip and Double click on sln file

Customer: replied 4 years ago.

I have done what you asked but I am unable to build and/or start debugging to run the program. I have no issues with the code but when I did it the previous way I received a fatal compile error. As shown in the attachment I sent you. Can you please take a look at the screen shot and tell me what you think then?

Did you download the Visual Studio project I gave you above ??
Customer: replied 4 years ago.

yes I did


 


http://wikisend.com/download/102982/EmployeeClass.cpp


 


This is the file here it was not zipped, but in a .cpp file which is fine. Like I said previously I am having a compile error and the DOS command window is displaying the same error when I try to run the program anyway.

THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
ATLProg and other Homework Specialists are ready to help you
Customer: replied 4 years ago.

Hi,


 


I have found the problem and it works just fine now. Thank you for time and patience helping through this. You are awesome!!!

I hope I’ve provided the information you were seeking. If you are happy with my service, please provide a rating. If not, please let me know so l can continue to help you. Thank you.
Please start your question text with "For ATLProg Only" to request me again, next time you need help!
http://www.justanswer.com/homework/expert-atlprog/ - Please bookmark this link to ask new question.

Related Homework Questions