Write a program to sorting n numbers in ascending order using bubble sort #include int main(){ int a[10],m,i,j,temp; printf("enter how many number:"); scanf("%d",&m); for(i=0;ia[j+1]) { temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } printf("ascending order"); for(i=0;i
Post a Comment