Generation

generate functionThu, 01 Jun 2023

Árbol avl con opción a agregar, buscar, eliminar y mostrar numeros

int main() { struct Arbol *raiz = NULL; int dato, opcion, band = 0; cout<<"\t\tARBOL AVL\n\n"; do { cout<<"Menu"<<endl; cout<<"1) Insertar"<<endl; cout<<"2) Mostrar"<<endl; cout<<"3) Buscar"<<endl; cout<<"4) Eliminar"<<endl; cout<<"5) Salir"<<endl; cout<<"Opcion: "; cin>>opcion; cout<<endl; switch(opcion) { case 1: cout<<"Ingrese un numero: "; cin>>dato; raiz = Insertar(raiz,dato); cout<<"\n"; system("pause"); break; case 2: cout<<"Mostrando arbol comple

Questions about programming?Chat with your personal AI assistant