- 1

I need help!

A snail is in a well of H meters, it goes up Ld meters during the day and down Ln meters at night. How long will it take to go up? The variables H, Ld and ln are set by the user. I don't know how to start it

25th Apr 2022, 12:21 PM
Rubén Arias
Rubén Arias - avatar
2 Réponses
+ 3
Read your inputs Days is zero While not out Increment days Climb If out Exit loop Fall
25th Apr 2022, 1:15 PM
John Wells
John Wells - avatar
+ 2
So pls include in the question a link to your attempt in Code Playground and a description of your difficulties.
25th Apr 2022, 12:29 PM
Emerson Prado
Emerson Prado - avatar