Thursday 3 January 2008

INSERTION SORT USING C PROGRAM


.fieldsetOut{
background:#1E90FF;
padding:0px 0px 0px 0px;
font-family: "courier new"
}
.fieldsetIn{
background:white;
margin:1px 1px 1px 1px;
padding:1px 1px 1px 1px;
border: 0px 0px 0px 0px

}








#include

int main(){

 
int i,j,s,temp,a[20];

 
clrscr();

 
printf("\nEnter size of the array: ");

 
scanf("%d",&s);

 
printf("\nEnter %d elements in to the array:",s)

No comments:

Post a Comment