-4
I started AI recently and I don’t get much of this... The idea was to use the while
to show us all even numbers up to 100 but is always giving error and could not fix this yet.
while (i <= 100) {
i += 1;
if (i % 2 == 0)
prinft('\n%d', i)
}
I don’t understand why the dial, the question is within the scope. Even being a basic syntax error, he was helped by the community. I believe that is the purpose of Stackoverflow. And even though the solution is not useful to users in the future, it may have been useful to the author of the question at that time.
– Felipe Paetzold
@Felipepaetzold read the description in Marelinho.
– Maniero
@bigown understand, but what if the solution presented helped him who asked the question?
– Felipe Paetzold
@Felipepaetzold is still a typo, it won’t help anyone else, there’s no reason why it stays open, no new answer will give a better solution.
– Maniero