NOTAS: Solucion recursiva al problema de las torres de Hanoi n : numero de discos ini : poste inicial fin : poste final aux : poste auxiliar procedure hanoi(n, ini, aux, fin) if n=1 then print("ini -> fin") else call hanoi(n-1, ini, fin, aux) print("ini -> fin") call hanoi(n-1, aux, ini, fin) end if end hanoi