0
IDE shows no output no output but it shows the output in turbo c++
The result shows "NO OUTPUT" here..works well in turbo c++ https://code.sololearn.com/cWq3nRFju5XT/?ref=app
2 odpowiedzi
+ 1
number%i !=0
but i = 0
so number % 0
you divide by 0
try this
for (i=1;i<100;i++) {
0
yes... precisely...I coreected it on my computer but forgot to do that here.. can't believe I am so dumb..thank you so much..