Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

*Lesson 4 Level 5 unable to submit*

I am unable to submit ,its running successfully.
let i = 0;
do
{
i += 5;
console.log(+i);
}
while (i < 50);

The error I get while submitting is - Use do keyword to mark the start of do..while loop
by

1 Answer

kshitijrana14
Try this one:

let i = 0;

do{
console.log("--" + i + "--");
i += 5;
}
while(i <= 50);

Login / Signup to Answer the Question.