answersLogoWhite

0


Best Answer

main ()

{

int i,j,a,n,number[30];

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

scanf ("%d", &n);

printf ("Enter the numbers \n");

for (i=0; i

scanf ("%d",&number[i]);

for (i=0; i

{

for (j=i+1; j

{ if (number[i] < number[j])

{ a = number[i];

number[i] = number[j];

number[j] = a;

}

}

}

printf ("The numbers arrenged in ascending order are given below\n");

for (i=0; i

printf ("%10d\n",number[i]);

}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: C program to arrange the set of numbers in descending order?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which way is ascending and descending?

Ascending order is when numbers are arranged from the smallest to the largest. Descending order is when numbers are arranged from the largest to the smallest.


What is it called to arrange in order from greastest to least?

descending


What will be the program to arrange numbers stored in array in ascending order using pointers?

sorry


How do you arrange words in cline and examples?

its arranged by ascending and descending order.........


Can you Arrange in order greatest to the least 9.005 9.051 9.05?

In descending order: 9.05, 9.051, 9.005


Is descending order from high to low?

Numbers are said to be in descending order when they are arranged from the largest to the smallest number.


What does descending mean in maths?

In Maths, we often talk about ascending and descending order. Ascending order is writing numbers from smallest to largest. Descending order is writing numbers from largest to smallest.


When numbers are largest to smallest?

descending order


Draw a flowchart to arrange 3 numbers in ascending order?

draw a flow chart to arrange 3 numbers in ascending order


If you arrange all the one digit odd numbers in ascending order and then in descending order to form five digit numbers what digit occupies the same place value?

this question is not soluble.the information given reduces the no. of candidates from 9999 to 900 but cant get closer than that


C program to fine the largest of 10 given number?

first sort the ten numbers in descending order and print the first number. That will be the largest no


Find the 2nd largest and 2nd smallest from a set of a numbers using 8085 microprocessor?

Arrange the any one of the order and store the memory in order vice (ie.Ascending for Descending) Then print the second data of that array it is simple way