Write a program, “NumSort”. The program will create an array of type integer that holds 30 numbers between 0 and 50. The

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a program, “NumSort”. The program will create an array of type integer that holds 30 numbers between 0 and 50. The

Post by answerhappygod »

Write a program, “NumSort”. The program will create an array of
type integer that holds 30 numbers between 0 and 50. The integers
have to be created randomly. Use the title, “The list before being
sorted”. Print the list in a 5 rows by 6 columns format. Then sort
the list in descending order, (big to small), using an insertion
sort. Print the new list using the title, “The list after being
sorted”, in the same format as the unsorted list. After the list is
sorted search for the number 27. If found print,
“27 was found in position # on the LIST”. If not found print,
“27 is not in the list”.
Java
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply