Question: C++ program with Vectors 1) Create a structure, Employee, with the following data struct Employee string name; log SSN; float Income; float taxRate; 2) Create

 C++ program with Vectors 1) Create a structure, Employee, with the

C++ program with Vectors 1) Create a structure, Employee, with the following data struct Employee string name; log SSN; float Income; float taxRate; 2) Create a vector of Employee structs, called Employees. 3) Need functions Read the data from a data file "employees.txt" in the vector Employees Determine the yearly tax and net income for a given Employee - Print all personal and income information for every Employee in the vector Input information stored in "employees.txt file: Adam 335234567 45000 0.19 Bob 234761344 60000 0.23 Output should print: Name SSNGrossIncome taxRate Taxes NetIncome 0.198550.00 36450.00 0.2313800.00 46200.00 Adam33523456745000 Bob23476134460000

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!