the problem is:
using 2 listboxes and 2 command buttons..
when you click the 1st cmd button an inputbox will appear asking the number of items to be sorted..then when you inputed a number, another inputboxes will appear asking for the items to be sorted...
then the items you inputed will be printed in the 1st listbox..
then when you click the 2nd cmd button the items in the first listbox will appear in the second listbox but they are sorted already.. my question is, how to sort the items in the listbox using the bubble sort and the shell sort???
hope you can post the answers as soon as possible..thank s
using 2 listboxes and 2 command buttons..
when you click the 1st cmd button an inputbox will appear asking the number of items to be sorted..then when you inputed a number, another inputboxes will appear asking for the items to be sorted...
then the items you inputed will be printed in the 1st listbox..
then when you click the 2nd cmd button the items in the first listbox will appear in the second listbox but they are sorted already.. my question is, how to sort the items in the listbox using the bubble sort and the shell sort???
hope you can post the answers as soon as possible..thank s