subject

For this activity, your program will create two integer array objects with 10 unsorted numbers each, sort the numbers in the arrays using the bubble and selection sorts, and then display the sorted arrays. 1. Make sure to include for creating array objects 2. Create constants as needed 3. Create function prototypes and function definitions to: a. sort an array object in ascending order (from lowest to highest) using the bubble sort b. sort an array object in ascending order (from lowest to highest) using the selection sort c. swap the elements in the array objects (Called from the sort functions) 4. In main, create two integer array objects, numList1 and numList2, each with the same unsorted values listed below: 98, 78, 102, 67, 45, 83, 29, 184, 2, 68 5. Display the unsorted values in the numList1 array object to the screen. 6. Pass the numList1 array object to your bubble sort function for sorting 7. After being sorted, display the sorted values in the numList1 array object to the screen 8. Display the unsorted values in the numList2 array object to the screen. 9. Pass the numList2 array object to your selection sort function for sorting 10. After being sorted, display the sorted values in the numList2 array object to the screen

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 00:30
Use the keyword strategy to remember the meaning of the following word. the meaning for the word has been provided. write your keyword and describe the picture you would create in your mind. obfuscate: to make something so confusing that it is difficult to understand.
Answers: 2
question
Computers and Technology, 24.06.2019 15:00
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
question
Computers and Technology, 25.06.2019 00:30
Which type of cell references are locked and not automatically updated when it’s copied a)formula b)relative c)absolute d)worksheet
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
Most computers today support the standard, in which the computer automatically configures new devices as soon as they are installed and the pc is powered up.
Answers: 1
You know the right answer?
For this activity, your program will create two integer array objects with 10 unsorted numbers each,...
Questions
Questions on the website: 13722362