Problem #4: Write a java program that applies the Selection Sort (descending order) to: 5, 2, 4, 6, 3, 1. Printout the n
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem #4: Write a java program that applies the Selection Sort (descending order) to: 5, 2, 4, 6, 3, 1. Printout the n
using netBeans using screenshot for beginners
Problem #4: Write a java program that applies the Selection Sort (descending order) to: 5, 2, 4, 6, 3, 1. Printout the numbers in the array after each pass. The results should look like the following: Original array: 5, 2, 4, 6, 3, 1 Step 1: X, X, X, X, X, X Step 2: X, X, X, X, X, X Step 3: X, X, X, X, X, X Step x: X, X, X, X, X, X