{
int a[50],l,j,t,n;
pritnf(“Enter total element to be sorted\n”);
scanf(“%d”,&n);
for(l=0;l
printf(“enter a number\n”);
scanf(“%d”,&a[l]);
}
for(l=0; l
{
t=a[j];
a[j]=a[j+1];
a[j+1]=t;
}
printf(sorted list\n”);
for(l=0; l
getch();
}
Posted by: Wasim Javed
No comments:
Post a Comment