Robotics C++ Physics II AP Physics B Electronics Java Astronomy Other Courses Summer Session  

Exercises

 

 

Exercise 1

 

Create an array of 100 random integers in the range 1 to 99

Call a method to print the array, 10 numbers per line

Call a method to sort the array using bubble sort

Call a method to print the array, 10 numbers per line

Exercise 2

Same as exercise 1 except use selection sort