0
Can't understand what data we have in 23rd lesson and what to do there. JavaScript.
6 ответов
+ 4
Никита Планшетов ,
can you please specify the programming language in a tag?
thanks!
+ 1
Are you talking about snail in the well?
+ 1
Yeah
+ 1
What i did was make a few variables. Day for how many days have passed. Distance for how how much it travels during the day. Night for the distance to subtract every time it hasnt reached the depth. And total to keep track of the distance for every nigjt and day. And put that all in a for loop.
+ 1
Thanks.
Were you using if- and else-statements?
0
Just an if statement. “If a particular condition hasnt been met. Continue the loop.