#include<iostream.h>
#include<stdlib.h>

typedef enum Bool{False,True};

#include"gtree.cpp"

void main()
{
	int temp,lo;

	great_tree<int> data;

	for (int c = 0;c<200;c++)
	{
		temp=rand()%1000;
		if (data.search(temp)==False) data.insert(temp);
	}

	cout<<"\nEnter the low limit for your range : ";
	cin>>lo;
	cout<<endl;

	cout<<"There are "<<data.great(lo)<<" items greater than "<<lo<<endl;

}
