Posts by Douglas Morais • 106 points
3 posts
-
5
votes2
answers1797
viewsQ: Adding spaces in Javascript
I need some help with that... We want to represent a ladder with variable height, using an array of strings. For example, a ladder with height 3, we will represent with the following array: var…
javascriptasked Douglas Morais 106 -
-1
votes1
answer2388
viewsQ: "Cannot read Property 'length' of Undefined" when using array arrays
A programming teacher, tired of students arriving late, decided to cancel class if there are few gifts. It represents student input as an array of late arrival times in minutes. For example, if a…
javascriptasked Douglas Morais 106 -
3
votes3
answers4717
viewsA: I need to write a suit functionDeruco, that given a suit, returns a list of strings, one for each card of this suit following the cards of the truco
My code was a little different from yours, instead of asking only to write, I put to add to the Array, I did not need to create an array for each suit. Is working properly! My thanks to the code of…