Hola alguien me podría decir como hacer el caso de prueba 2 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hola alguien me podría decir como hacer el caso de prueba 2

4th Apr 2021, 12:12 AM
Faviel Díaz Valdés
Faviel Díaz Valdés - avatar
8 Answers
0
Hola! Escriba un programa que genere la frase "JavaScript"?
4th Apr 2021, 12:26 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Disculpe yo digo el que es el de un caracol
4th Apr 2021, 6:31 PM
Faviel Díaz Valdés
Faviel Díaz Valdés - avatar
0
Please, show us your code attempt
4th Apr 2021, 6:32 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
4th Apr 2021, 11:19 PM
Faviel Díaz Valdés
Faviel Díaz Valdés - avatar
0
This is the code
4th Apr 2021, 11:20 PM
Faviel Díaz Valdés
Faviel Díaz Valdés - avatar
0
your code is very wrong. remove the for loop condition from adding 7 feet during the day and subtracting 2 feet at night, and insert them into the loop body. take console.log out of the for loop
5th Apr 2021, 8:44 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Ok, thanks
5th Apr 2021, 7:30 PM
Faviel Díaz Valdés
Faviel Díaz Valdés - avatar
0
but this will not be the end, the program will still be incorrect, since it will be necessary to further refine the logic itself
5th Apr 2021, 7:35 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar