Using Oop Write C Program Use Single Subscripted Array Hold 20 Names Array Populated Value Q37143612

Using OOP, write a C++ program that will use asingle-subscripted array to hold 20 names. The array should bepopulated with the values stored in the names.txt inputfile. Once the array is populated, read in a name from the inputfile moreNames.txt. From there, search to see if the namefrom the file matches any of the names in the array. If a matchexists, display the name that matches. Keep a count of the numberof names that match as well as the names that do not match.

Once the end of the moreNames.txt file has been reached,display the results.

You may use a bubblesort or

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.