Question: a. Declare a single structure data type suitable for an employee structure of the type shown in the following chart: Number 3462 6793 6985 7834

 a. Declare a single structure data type suitable for an employee

a. Declare a single structure data type suitable for an employee structure of the type shown in the following chart: Number 3462 6793 6985 7834 8867 9002 Name ones Robbins Smith Swain Timmins Williams Rate 14.62 15.83 15.22 16.89 16.43 14.75 Hours 40 38 45 40 35 42 b. Using the data type declared in Exercise a, write a C++ program that interactively accepts the chart's data in an array of six structures. After the data has been entered, the program should create a payroll report listing each employee's name, number, and gross pay. Include the total gross pay of all employees at the end of the report

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 Databases Questions!