C program to print numbers in descending order

C program to print numbers in descending order

Output:

Enter the number of elements:
10
Enter the elements to sort:
1 2 3 4 5 6 7 8 9 10
The numbers in descending order:
10 9 8 7 6 5 4 3 2 1

Implementation: