Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2. #include "tree.h"
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. Tree<int> t;
  9. t.insert(8);
  10. t.insert(7);
  11. t.insert(10);
  12. t.insert(15);
  13. t.insert(9);
  14. t.insert(4);
  15. t.insert(6);
  16. t.insert(3);
  17. t.insert(5);
  18. t.print();
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement