have a program to sort arrary and print sorted elements after each number is entered.
have the sort working, but can't get it to print sorted arrary after each element.
this is waht i have so far
for (i = 0; i < size; ++i)
printf("cell %d ", i);
for (i = 0; i <= sorty[i]; ++i)
insertion_sort (sorty, size);// calling sort program
printf("cell %d %d
", i, sorty[i]);