C programe to sort n numbers in ascending and descending order
Answers
Answered by
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
Social Sciences,
6 months ago
Hindi,
6 months ago
Chemistry,
1 year ago
Math,
1 year ago
Math,
1 year ago