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]);
}
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.
descending
sorry
its arranged by ascending and descending order.........
In descending order: 9.05, 9.051, 9.005
Numbers are said to be in descending order when they are arranged from the largest to the smallest number.
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.
descending order
draw a flow chart to arrange 3 numbers in ascending order
this question is not soluble.the information given reduces the no. of candidates from 9999 to 900 but cant get closer than that
first sort the ten numbers in descending order and print the first number. That will be the largest no
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