+ 2
Plz help me in this code , where is wrong?
It is code coach code function main() { var depth = parseInt(readLine(), 10); //your code goes here var j=0; for(i=0;i<=depth;i+=5){ var m =i+7-2; j+=1 if (i>=depth){ break } }console.log(j); }
3 odpowiedzi
+ 4
There is only little problem i Explain in your code check out and added conditional statements.
See this :
https://code.sololearn.com/WbwPY06R9olX/?ref=app
+ 4
Most Welcome Chain Sing Maravi and i think you understand code logic Properly where is the actual mistake in your code that's why they show little problem.
All the Best 👍👍.
+ 2
Thank you so muchMohammed Qadir khan sir