Design and implement a C++ Application that: Interactively input: Employee First
ID: 3763115 • Letter: D
Question
Design and implement a C++ Application that:
Interactively input:
Employee First Name
Employee Last Name
Employee id
Employee hours worked per week
Employee Pay Rate
Menu with Option to:
Print out Employee Report in the following report format
Search for an Employee
Display the Report in Sorted based on Last Name or ID
Calculate the Pay
Quit
Criteria:
Use Parallel Arrays to Store the Employee Information
Use Input/Output Files
Allow the user to search for a specific Employee
Use this data for input:
Brian Adams 612366 36
David Eisenhower 957654 38
Kathy Jones 123456 43
Janet Williams 245695 39
Steve Bradford 245690 39
MARKETING COMPANY REPORT PROGRAM
FIRST NAME LAST NAME ID HOURS WORKED Hourly Rate Total Pay
Brian Adams 612366 36
David Eisenhower 957654 38
Kathy Jones 123456 43
Janet Williams 245695 39
Steve Bradford 245690 39
Average Hours Worked: 39 Hrs/Week
Objective of this program:
Use of symbolic constants
Use of comments
Use of Arrays
Validate Data
Format data using data size manipulators
Simple math operations
Learn to use the compiler
Learn to print output
You are to convert the parallel arrays to data structures.
Declare an array of structures.
Add a field that keeps track of employee status (stat)
Add two more choices to the menu:
Print report for active employees
Print a report of inactive employees.
All reports should have complete information for the employee and all should include the header and title of the report, along with a title that explains what the report is.
Use multiple source files for this program, and be sure your structure definition, prototypes and symbolic constants are defined in a header file, which should be included in your source files.
Turn in the following reports:
A report of all employees
A report of all active employees
A report of all inactive employees
Two reports of specific employees
One report that failed to find an employee
Objective of this program:
Using data structures
Using pointers with structures
Using headers
Using Arrays of Structures
Using multiple source files
Explanation / Answer
Hi,
#include <iostream.h>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.