Posts by Thiago Lima • 3 points
2 posts
-
0
votes0
answers286
viewsQ: Doubt in a code to calculate the growth of a tree
I am having some difficulties to make this code below work. The statement of the exercise is this: Utopian trees grow in a particular way in two cycles: Each spring doubles its size each summer grow…
-
0
votes1
answer1875
viewsQ: Help on 2 Arrays questions
It has this function to find out how many months a person’s balance was positive: function quantidadeDeMesesComLucro(umPeriodo){ let quantidade = 0; for(let mes = 0; mes < umPeriodo.length;…