Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started