Computer Science, asked by madhuryagowd4429, 11 months ago

C programe to sort n numbers in ascending and descending order

Answers

Answered by ashishsingh419554
0

Answer:

The program output is also shown below.

* C program to accept a set of numbers and arrange them.

* in a descending order.

int number[30];

int i, j, a, n;

printf("Enter the value of N\n");

scanf("%d", &n);

printf("Enter the numbers \n");

for (i = 0; i < n; ++i)

Similar questions