Lab 4 - Fortran
Due February 28th
To Do:
You will write a Fortran program that does the following.
- Initializes an array of 10 numbers, unsorted, values ranging between 0-1000.
- More points for using a random number generator (This is not trivial, wait and do this if you have everything else done).
- Less points for user input
- Even less points for hardcoding the values in the array
- Send the array to a subprogram to sort using quicksort algorithm.
- Then Send the unsorted original array to a subprogram that uses bubblesort
To get the highest points available do the following:
- As well as the above write methods to sort a 2D array in quicksort and bubblesort.