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; } }

12th Dec 2020, 8:46 PM
Emmanuel Osemudiamen
Emmanuel Osemudiamen - avatar
1 Odpowiedź
29th May 2022, 9:00 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar