Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
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 wel
Hello everyone this question i want to know how to solve it with c++,as we enter the value of the depth of the well
1 Resposta
+ 2
You can approach the task like this:
* get input for depth (integer)
* use a while loop to calculate the current position of the snail š
* break from loop when the snail š is out of the well