
6. (20 marks) Merge sort implementation. (12 out of 20 marks) Please implement the merge sort algorithm and sort all data stored in the file sort.txt. Print the sorted items to show that your program can work correctly. You may use the following code to read values from the file sort.txt. #include <fstream> a. ifstream input(“sort.txt” int number; while (input >> number) v.push_back (number) input.close O (4 out of 20 marks) Please prove the time
PayPal Gateway not configured
PayPal Gateway not configured