Write a program, which will ask the user how many integer numbers they wish to enter.
The program will then read that many numbers, print them in the order they were entered,
sort them in order by decreasing value, and print them in sorted order.
All numbers entered and displayed will be integer values.
The maximum number of integers to be handled will be 20.
Sorting will be done in a function where the array will be the first parameter and the
number of integers entered into the array will be the second parameter.
Use an array to store the integer values.
Use a modified version of the bubble sort algorithm provided in class to sort the integers.
Write a Review
Leave a reply Cancel reply
Ask Your Question
We have verified professionals who are ready to answer your question.
Save Time and Money
We choose experts who can quickly answer your question and that suit your budget.
Get Your Answer
Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.