0
Snake in the well project
It’s not running and I don’t know why function main() { var depth = parseInt(readLine(), 10); //your code goes here } function main(){ var depth = parsentInt(readLine(),10); //your code goes here var day=0; var total=0; while(total<depth){ day=day+1 total=total+7 if(total>=depth){ console.log(day); break; } total=total-2; } }
1 ответ
0
Use search bar before asking anu questions
https://www.sololearn.com/discuss/1725978/?ref=app
https://www.sololearn.com/discuss/2928185/?ref=app