Question: Using C++ to write the program, you can make up data file. Thanks Program 4 Write a C++ program using vectors that will Read in

Using C++ to write the program, you can make up data file. Thanks

Using C++ to write the program, you can make up data file.

Program 4 Write a C++ program using vectors that will Read in data from a data file of ten(10) records, Print the original data, Using the Selection Sort algorithm, sort the data by year, Print the sorted data, Prompt the user to enter a year, Use the Binary Search algorithm to find the record with that year Then, display the found record, if record not found, print "Not Found". . . e . . NOTE: Use functions for your output, sort and search routines Original Data Name Year Tuition David Sylvester Ben 2011 2012 1992 1582.38 728.82 0 Sorted Data Year Tuition Name Ben David Sylvester 1992 2011 2012 0.00 1582.38 728.82 Enter year: 2011 Record found David 2011 1582.38

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!