Question: C++ FILE INPUT AND INTEGER CONVERSION Code, compile and upload the following program. Name it Q5.cpp. (25 pts) All submissions must compile without errors for
C++

FILE INPUT AND INTEGER CONVERSION Code, compile and upload the following program. Name it Q5.cpp. (25 pts) All submissions must compile without errors for grade evaluation. - Create a 42 two dimensional array (named empInfo) of strings which uses a global constant for both dimensions (numEmployees for rows and numFields for columns) - Create a one dimensional array (named empSalary) of integers which uses the same global constant numEmployees. - Read data from employee.txt into the program one line at a time. Parse out the record fields to populate the two arrays. The record's first field goes the first column of empInfo, the record's second column goes into the second column of empInfo, and the records third column goes into the empSalary array. (Use the converter only on the last column) - Increase the salaries by 10%. - Output the info as shown below. Input File A, John Smith, 84000 A,Bruce Jones, 104000 B, Karen Allen, 88000 A,Sam Spade, 49000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
