insert number in reverse

I got a question: if i want to insert even number of 1-10000 for BST in reverse order.

this is my code for insert even number 1-10000
1
2
3
 for (int i = 1; i<10000; i++){
   	if((i%2) ==0)
   		t1.insertI(i);

How can i achieve this goal
Just reverse the order...
for (int i=10000;i>=1;i-=2)t1.insert(i);
well done
Topic archived. No new replies allowed.