/void printtree--print tree in sorted order notes /******************errors*******************************/throws underflowexception as warranted template class avltree publicavltreerootnull avltreeconst avltree rhs rootnull *this rhs~avltreemakeempty)/*find the smallest item in the tree throw underflowexception if empty *const comparable findminconst ifisemptythrow underflowexception)return findminroot )->element/*find the largest item in the tree throw underflowexception if empty *const comparable findmaxconst ifisemptythrow underflowexception)return findmaxroot )->elementlovely professional university