Starting from:

$34.99

CS211 Assignment 2 -Objective To implement Merge sort Solution

Assignment no. 2
Objective To implement Merge sort
Penalty for violating naming convention(s) 5%
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

More products