cromer.cl site content

This commit is contained in:
Chris Cromer
2016-07-10 15:31:15 -04:00
parent 669a981a0e
commit 768e8ca7cc
6 changed files with 80 additions and 1 deletions

View File

@@ -145,8 +145,8 @@ public class ArbolController implements Initializable {
List<List<ArbolNodo>> niveles = arbol.getNiveles();
int altura = arbol.getAltura() - 1;
// Thank you Claudio Gutiérrez
int ancho = (int) Math.pow(2, altura) + (int) ((Math.pow(2, altura)) - 1);
System.out.println(ancho);
Text text;
for (int i = 0; i < altura; i++) {