How to finish the snail in the well #23 code test in JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to finish the snail in the well #23 code test in JavaScript

Which tool do I use?

7th Jun 2022, 9:33 PM
Chris Lenny
Chris Lenny - avatar
2 Answers
+ 2
Hint: You can use a loop to calculate the distance the snail covers each day, and break the loop when it reaches the desired distance.
7th Jun 2022, 9:50 PM
JaScript
JaScript - avatar
+ 2
Thank you im having a brainfart day lol
7th Jun 2022, 9:55 PM
Chris Lenny
Chris Lenny - avatar