x

C program to sort given numbers in descending order

C program to sort given numbers in descending order:

Output:


descending order of entered numbers

7

6

4

3

1

 

Note:


In above C program, fixed numbers are used to sort in descending order. If you want to get inputs from keyboard, please use below code.

Output:

Numbers will be sorted in descending order based on your entered numbers.

 



Like it? Please Spread the word!