/* Selection Sort */ Made By Gaurang gaurang85.tripod.com */ #include #include #include main() { int array[20],num,i,min,j,temp; clrscr(); printf("\n Enter How many number to sort : "); scanf("%d",&num); //get numbers from user and put it in an array for(i=0;iarray[j]) { temp=array[j]; array[j]=array[i]; array[i]=temp; } } } printf("\n\n"); //print sorted array for(i=0;i