Question: Using c++, ask the user to read 10 employee names and their salaries from a file(you must prep the data file), into either one 2D
Using c++, ask the user to read 10 employee names and their salaries from a file(you must prep the data file), into either one 2D array(extra credit) or into 2 separate arrays. Use a function to pass the arrays or array. Determine and return the employee with the highest salary using the data from the array. Print the results with the employee name and the highest salary.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
