User:Manivb

BUBBLE SORT void main {	int a[10],i,j,temp,n; clrscr; printf("\nEnter the no of elements to sort:\t"); scanf("%d",&n); printf("\nEnter the elements:\n"); for(i=0;ia[j]) {				temp=a[i]; a[i]=a[j]; a[j]=temp; }		}	}	printf("The sorted list:\n"); for(i=0;i
 * 2) include

OUTPUT: