2023 C Programming in Review Week 5 C Programming in Review Write a 70 to 100 word short answer response | Assignment Collections

Computer Science 2023 C++ Programming in Review

2023 C Programming in Review Week 5 C Programming in Review Write a 70 to 100 word short answer response | Assignment Collections

C++ Programming in Review

Week 5 

 C++ Programming in Review

          Write a 70- to 100-word short-answer response for the following: 7 discussions

1.       Supporting Activity: Templates

How could you have used templates for your final project? What are some possible benefits and drawbacks?

2.      Supporting Activity: STL Templates

How could you have used the STL templates for your final project? What are some possible benefits and drawbacks?

3.      Supporting Activity: Dead Language

Imagine a friend tells you that C++ is a dead computer language. Would you agree or disagree? Why or why not?

4.      Supporting Activity: C++ Skills

What resources do you plan to use after the course to continue learning about and practicing C++? How will you improve your C++ skills? What C++ projects might benefit you, your workplace, or a volunteer organization?

5.      How inheritance fits into object-oriented programming

6.       How you use the protected keyword

 

7.        When you should use a virtual destructor

 

 

Datamax, Inc. Overtime Pay Program

The Instructions of this Assignment Files is in attachment Resources: Appendix D

 

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 account for 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 using 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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational