Question: sorting and file handling Sorting and File Handling For each of the following Levels, the information should be sorted using Bubble Sort Level 1 (Save

sorting and file handling
sorting and file handling Sorting and File Handling For each of the
following Levels, the information should be sorted using Bubble Sort Level 1
(Save as Sort1.java) Write a program that will: read in 10 marks

Sorting and File Handling For each of the following Levels, the information should be sorted using Bubble Sort Level 1 (Save as Sort1.java) Write a program that will: read in 10 marks from the keyboard into a numbers array sort the marks in descending order display the sorted list on the screen save the sorted list to a file called Sorted 1.txt Level 1+ (Save as Sort1a.java) Modify Sort1.java so that the marks are read from the file Marks.txt. The program should save the sorted list to a file called Sorted1a.txt. Level 2 (Save as Sort2.java) Write a program that will: open the file Un SortB.txt, which lists Juno Award winners with the most awards read in the names into a names array and the number of wins into a wins array sort the number of wins in descending order display the sorted number of wins on the screen save the sorted number of wins to a file called Sorted2.txt Level 3 (Save as Sort3.java) Modify Sort2.java so that it displays the sorted number of wins in descending order with their corresponding names saves the sorted wins with their corresponding names to a file called Sorted3.txt Level 4 (Save as Sort4.java) Modify Sort3.java so that: it sorts the information using Modified Bubble Sort if people have the same number of wins it sorts those people according to their names in ascending order saves the above sorted data (names and ages) to a file called Sorted4.txt Remember to document your program. il Freedom 12:19 AM @ 72% X UnSortB.txt The Weeknd 15 The Tragically Hip 17 Tafelmusik Baroque Chamber Orchestra 10 Shawn Mendes 11 Shania Twain 13 Sarah McLachlan 12 Rush 10 Randy Bachman Orchestre Symphonique de Montros 18 Nickelback 12 Nelly Furtado 10 Murray McLachlan 11 Michael Bubl 14 Jim Cuddy 13 Janes thes 11 Greg Kolor 11 Cordon Lightfoot 13 Feist 11 Diana Krall 10 Charles Dutoit 10 coline Dion 20 Bryan Adams 21 Bruce Cockburn 13 Blue Rodeo 12 Arcade Fire 11 Anne Murray 25 Alanis Morissette 15 il Freedom 12:21 AM @ 72% marks.txt G 21 18 35 19 15 20 17 19 11 16 23 17 8 18 16 17 27 19 16 19 20 21 23 34 WNNNPPNPH00 NPPPENEWEN AWPOOO 00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!