Load the following items of data into an array interactively from the keyboard.;Print out the data in the order in which is was entered.;Sort the data in ascending order using the insertion sort.;Print out the data in sorted order.;Sort the data in descending order using the bubble sort.;Print out the data in the sorted order.;These are the data items you?ll use;Honda;Chevrolet;Ford;Rolls-Royce;Mercedes Benz;You need to use for loops so the user can enter the car manufacturer names into the array. Also use a for loop to print out the array. Make sure that you do not print or load the array in the main method. Create a method for each.
Paper#69210 | Written in 18-Jul-2015Price : $32