Example #1
0
 public void showFolhas()
 {
     if (raiz != null)
     {
         raiz.showFolhas();
     }
 }
Example #2
0
 public void showFolhas()
 {
     if (esq != null)
     {
         esq.showFolhas();
     }
     if (esq == null && dir == null)
     {
         Console.WriteLine(x + " ");                             // exibe nĂ³ folha
     }
     if (dir != null)
     {
         dir.showFolhas();
     }
 }