please help! this is probably an easy problem for an experienced programmer...but I'm a beginner.
I need my program to compare time it takes for two algorithms sort a set of values. I am attempting to compare complexity of different algorithms.
I need to get a parameter specified number of values from a randomly organized data file containing 1000 values. I need to create a direct-access file which will contain the X number of values read from the data file. I will need to report start/end times for each sorting algorithm (for comparison).
The sorted values need to be reported in a file, 10 values per line with 2 spaces between values. I'm struggling with how I should solve this problem. Please help! sorry if my description of the problem isn't great. I'm open to even suggestions! thanks in advance.