CS 2400 Lab. Assignment 5-Due Date: November 1, 2018 Object: To write and test each of the following functions as specified Part 1 1. Write function int readHours() that reads one or more hours worked by an employee in a week, computes their sum and returns it. The list of hours is terminated by the dummy value-99. Test this function as follows: Example: 8 5 7 7-99 2. Write its definition in the source file processEmployee.cpp Follow the definition of this function with function main that calls it three times and prints the total number of hours returned by the function as follows: i. For the first time, the input values are 6 -99 ii. For the second time, the input value is -99. ii. For the third time, the input values are S 8 8 88-99. Execute the program and then capture and paste the execution window at the bottom of the source file and return it. - For the following two parts of the assignment, you will need the following structures: - The structure Date defined in the header file Date.h. that holds the information about a date. The structure Employeelnfo defined in the header file Employeelnfo.h that holds the information about an employee. Part 2 1. Wite function voild priatlafot Emploeeafo emp that cissgument uture and prints the values of its member variables as follows: Name: Doe, John ID: DOB:10/25/1989 BOH: 7/14/2007 Pay Rate: $ 15.50 Hours: 36 12345 2. Test this function as follows: - Write its definition after the definition of function readHours() in the source file processEmployee.epp. Follow the definition of this function with function main that calls function printlnfo) with the Employee structure initialized with the following values: 12345 John Doe 10 25 1989 714 2007 15.5 36 Execute the program and then capture and paste the execution w it. ndow at the bottom of the source file and return