Question: Create a program that asks the user to enter in temperatures for a week into an array. (Remember temperatures at not just whole numbers!)
Create a program that asks the user to enter in temperatures for a week into an array. (Remember temperatures at not just whole numbers!) Create a static method that uses the original temperature array. This method will use the bubble sort to sort the temperatures from largest to smallest. Create another static method that also uses the original temperature array. This method will instead use the insertion sort to sort the temperature from smallest to largest.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
