Enter one more number(Press Sort without entering any value to start the animation):

*-Press submit after entering every value of the array

ALGORITHM FOR BUBBLE SORT

1. start
2. Get input elements as 'array','count' as the number of elements
3. i=0, j=0;
4. for(i=0;i less_than n;i++)
{
for(j=0;j less_than n-i;j++)
{
if(array[j] greater_than array[j+1]
{
swap(array[j],array[j+1]);
}
}
}
5.stop