Write a program to enter 10 integers in a single-dimensional array and then print out the array in descending order.
Write a program to enter 10 integers in a single dimensional array and then print out the array in descending order. So let’s Write Code: Let’s build logic First: Algorithm for code: Step 1: Start Step 2: Declare an array and variable. Step 3: Take inputs from user. Step 4: Passing array to function Step…