int main(){
BiTree T;
int h=1,d;
CreateBiTree(T);
PreOrderTraverse(T);
MiOrderTraverse(T);
LaOrderTraverse(T);
d=LeafCount(T);
cout<<"the number of leaves is:"<<d<<endl;
High(T,h);
cout<<"the height of the tree is :"<<h<<endl;
system("PAUSE");
return 0;
}