Please solve this Snail in the Well problem using loops and if statement.

You can either do it using C or JavaScript. Problem: The snail climbs up 7 feet each day and slips back 2 feet each night. How many days will it take the snail to get out of a well with the given depth?

12th Jan 2022, 4:41 PM
Logician S
Logician S - avatar
1 Answer
+ 3
Hello Logician S Please show us your attempt!
12th Jan 2022, 5:09 PM
Denise Roßberg
Denise Roßberg - avatar