HW 6

profileANGELLL

PLEASE REVIEW  THE INFORMATION BELOW 

  • 5 months ago
  • 50
files (2)

HW6COSC.docx

Upload the .java file to Ecampus: 1.  Using file input, read in Primes1.txt into two arrays. 2.  Sort the first array using a bubble sort.  Print the first 10 and last 10 numbers from the sorted array.  Print out the time it took to perform the sort.

3.  Sort the second array using a selection sort.  Print the first 10 and last 10 numbers from the sorted array.  Print out the time it took to perform the sort.

ALSO THIS IS THE

primes1.txt –

FILE