[SOLVED] CS211 Assignment 2-To implement Merge sort

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment_2-sytvdq.zip (268.1 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

Assignment no. 2
Objective To implement Merge sort
Command-line argument:
Your program should receive a file (input file) as a command line argument.
Input file
The input file will be a text file where each line contains a non-negative integer.
Task
Implement Merge sort to sort the integers in the input file in ascending order. The output must be a file named ‘mergesort.txt’. Every line should contain exactly one integer (the first line contains a smallest integer, and so on).
Submission
● The program you submit should output mergesort.txt when run.
● Follow some coding style uniformly. Provide proper comments in your code.
Evaluation

1 file · 268.1 KB

  • Assignment_2-sytvdq.zip 268.1 KB