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 means increasing in value or moving higher, while descending means decreasing in value or moving lower. In a numeric sequence, ascending would go from lowest to highest, while descending would go from highest to lowest.
descending
sorry
its arranged by ascending and descending order.........
To form the biggest possible number from the digits in 231, you should arrange them in descending order. Thus, the largest number you can create is 321.
To arrange numbers in descending order, start by comparing the values and placing the largest number first. Continue comparing the remaining numbers, moving to the next largest, and repeat the process until all numbers are organized from highest to lowest. You can do this manually or use sorting algorithms if working with larger datasets. Ensure to double-check your final arrangement for accuracy.
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.
Numbers are said to be in descending order when they are arranged from the largest to the smallest number.
descending order
draw a flow chart to arrange 3 numbers in ascending order
first sort the ten numbers in descending order and print the first number. That will be the largest no
this question is not soluble.the information given reduces the no. of candidates from 9999 to 900 but cant get closer than that