Question: PURPOSE:In this program, you will declare class NumDays for the program described on the next page. A starter project, U 3 - 0 1 h

PURPOSE:In this program, you will declare class NumDays for the program described on the next page. A starter project, U3-01h.xy, provides three source files, NumDays0.h, NumDays0.cpp, and hrsToDays0.cpp. U3-01hDEMO.exe is also provided as reference. Copy the project folder to your Unit 3 Labs folder and rename as usual.PROCEDURE1. Prepare source code file1.1. Check that the starter program will build and execute properly.1.2. Save NumDays0.h as NumDays1.h, NumDays0.cpp as NumDays1.cpp and hrsToDays0.cpp as hrsToDays1.cpp. Exclude the former source files and Add the latter.1.3. Update the program header and the run-time header.1.4. Use the program comments in the starter code as a guide for organizing your program as specified.2. Declare a class with the following members:2.1. Private Data Members: Use only the two instance members and one static member shown in the starter code.2.2. Public Function Members: Note from the starter code that all class member functions are to be inline except the static function getTotDays().3. Write code for main().3.1. Define a five-element array of class NumDays. Define other objects, variables, and constants as needed.3.2. Use the structure provided by comments in the starter code to organize your program.4. Implement and test the program: 4.1. Note that main() consists of three tasks as described in the comments. Follow the best practice of completing each task before coding and testing the next.4.2. Thoroughly test the program. Note from the screen shot that you do not have to enter five employees every time you run a test. The user controls how many employees will actually be entered4.3. Execute the program and print a console screen-shot of the results using the data shown with the starter code. Save your screen-shot in the project folder.4.4. Print the source code in the following order: NumDays1.h, NumDays1.cpp, and hrsToDay.cpp
PURPOSE:In this program, you will declare class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!