Create an array NT [] to store any 10 integers . Arrange them in descending order and print them.
supreetidebnath597:
same to you
Answers
Answered by
2
Answer:
Loop through the array an select an element .inner loop will be used to compare select elements from outer loop with rest of the elements of array .if any elements is greater than the selected elements then swap the value.computer this prosses till entire list is sorted the descending order
Explanation:
please follow me I am also follow back
Answered by
3
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
Math,
4 months ago
Hindi,
4 months ago
Math,
4 months ago
Social Sciences,
8 months ago
Psychology,
8 months ago
Science,
1 year ago