What would you like to do?

# Write a C program to arrange 7 numbers in ascending order?

# How do you write a c plus plus program to list numbers in ascending order?

include #include using namespace std; int main() { int temp = 0; vector num; cout temp; num.push_back(temp); } sort(num.begin(), num.end()); for(int i… = 0; i < 10; i++) { cout

# Write a C program to arrange 7 numbers in descending order?

include #include void main() { int i,j,temp,a[7]; clrscr(); printf("Enter 7 integer numbers: \\n"); for(i=0;i…

# Write a c program to arrange the digits of a number in ascending order?

Computer programmers use an array to arrange digits of a number in ascending order. The program uses character array to store the digits and a quick sort feature to sort t…hem.

# Write a c program to sort 10 numbers in ascending order?

#include#include void main() { int num[10],i,j,temp; clrscr(); printf("\\n Enter 10 values of an array.....\\n"); for(i=0;i…

# Write a c program to n numbers ascending order?

Use the qsort() function ;)

# How do you write a java program to sort n numbers in ascending order?

It should be fairly simple to program a bubble sort (though this is not very efficient for large arrays). If elements #0 and #1 of an array are out of order, exchange them. Th…en do the same with elements #1 and #2, etc., up to elements number (n-2) and (n-1). Then go back to the beginning, and repeat everything (n-1) times. (This will require two nested for loops.)

# Write a program to arrange given set of number in ascending order using link lists in c language?

include #include int main() { int a[10],i,j,temp=0; printf("Enter all the 10 numbers"); for(i=0;i…

# Java program to arrange any numbers in ascending order?

import java.util.*; class table { public static void main (String argsp[]) { Scanner in = new Scanner (System.in); int a,b,c,d=0; System.out.print ("\\n\\t Enter the number to… print table = "); a=in.nextInt(); System.out.print ("\\n\\t Enter 1 for ascending and 2 for descending order = "); c=in.nextInt(); if (c1) { System.out.println ("\\n\\t Table of "+a+" in ascending order "); b=1; while (b0) { d=b*a; System.out.println ("\\n\\t "+a+" * "+b+" = "+d); --b; } } else System.out.println ("\\n\\t Invalid number "); } }

# C program to arrange any numbers in ascending order?

include #include void main() { int n ,i,j,temp,a[12]; //in a[] specify some number . printf("Enter the no of inputs:"); scanf("%d", &n); printf("Enter %d integ…er numbers :", n); for(i=0;i

# Write a program to arrange a list of numbers in ascending order?

include int main() { int num[100]; printf("please input your numbers.enter any letter for the end\\n"); int i=0,j=0,k=0; … while(scanf("%d",&num[i++])); i--; printf("you input %d numbers\\n",i); for(j=i-1;j>=0;j--){ for(k=0;knum[k+1]){ int temp; temp=num[k+1]; num[k+1]=num[k]; num[k]=temp; } } } for(j=0;j

# How do you write a program to arrange the elements in ascending order by using bubble sort technique?

class bubble { public void main(int a[]) { int t,l,i,j; l=a.length; System.out.println("the original array "); for (i=0;i…

Answered

In Technology

# Write a program that will arrange the elements of a 10-integer array in ascending and descending order?

Analyze the problem! Do it by your self for you to learn! -Your computer programming professor

Answered

# Write a program in C to arrange names in alphabetical order?

TL Kidd Kiddle Graphics Kids Kommotion H Kidby The Kids Art Academy

Answered

# Write a program in c to sort an array in ascending order?

include #include int main() { char str[100],temp; int i,j; clrscr(); printf("Enter the string :"); gets(str); printf("%s… in ascending order is -> ",str); for(i=0;str[i];i++) { for(j=i+1;str[j];j++) { if(str[j] anstxy

Answered

# How do you write a program in C to ascend n numbers?

#include main() { int n,i,j,a[10][10],t; clrscr(); printf("enter the limit of an array\\n"); scanf("%d",&n); printf("enter the elments of an array\\n"); … for(i=1;i