A1: File Handling with struct C++   This program is to read a given file and display the information about employees according to the type of employee. Specifically, the requirements are as follows. Read the given file of the information of employees. Store the information in an array or arrays. Display all the salaried employees first and then the hourly employees Prompt the user to enter an SSN and find the corresponding employee and display the information of that employee. NOTE : S- salaryemployee , H- Hourly employee S 135-25-1234 Smith Sophia DevOps Developer 70000 H 135-67-5462 Johnaon Jacob SecOps Pentester 30       60.50 S 252-34-6728 William Emma Dev

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

A1: File Handling with struct

C++

 

This program is to read a given file and display the information about employees according to the type of employee. Specifically, the requirements are as follows.

  1. Read the given file of the information of employees.
  2. Store the information in an array or arrays.
  3. Display all the salaried employees first and then the hourly employees
  4. Prompt the user to enter an SSN and find the corresponding employee and display the information of that employee.
  5. NOTE : S- salaryemployee , H- Hourly employee

S 135-25-1234 Smith Sophia DevOps Developer 70000
H 135-67-5462 Johnaon Jacob SecOps Pentester 30       60.50
S 252-34-6728 William Emma DevOps DBExpert 100000
S 237-12-1289 Miller   Mason DevOps CloudArchitect 80000
S 581-23-4536 Jones   Jayden SecOps Pentester 250000
S 501-56-9724 Rogers   Mia DevOps Auditor 90000
H 408-67-8234 Cook    Chloe DevOps QAEngineer 40       45.10
S 516-34-6524 Morris   Daniel DevOps ProductOwner 300000
H 526-47-2435 Smith   Natalie DevOps Developer 30       50.25
S 530-46-8245 Johnson   Grace SecOps SecurityEngineer 300000
S 035-35-6472 Allen    Avery DevOps TechnicalLead 250000
S 222-35-9324 Youn   Joshua DevOps ScrumMaster 150000
S 407-36-1285 Hall   Elijah DevOps QAEngineer 100000
S 251-98-2836 Wright   David Devops CloudArchitect 200000
H 627-67-9879 Rogers   Andrew Devops SystemAdmin 50   40.30
S 509-45-0909 Lee    Joshua SecOps SecurityArchitect 250000
S 408-12-8976 Thomson   Stewart DevOps DeploymentEngineer 250000
S 425-90-2010 Sharma   Sanjeev DevOps WorldwideLead 350000
S 433-44-2324 Sellters Sandra AccountFinance AccountingManager 200000
S 486-88-9981 Arthur   Dennis AccountFinance Accountant 60000
H 478-77-2763 Weaver   Daniel Sales SalesManager 30       25.50
S 505-55-8786 Byron    Amanda Sales SalesAssociate 70000
S 429-30-3678 Finley   Megan Administration OfficeManager 80000

 

 

Submission:

            Combine the program and a screenshot of the outputs of a program execution (run) into a zip file. The filename must be A1_lastname_firstname.zip

Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Stack operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY