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

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!