IDE shows no output no output but it shows the output in turbo c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

3rd Aug 2018, 11:53 AM
Nishchit Rao
Nishchit Rao - avatar
2 Answers
+ 1
number%i !=0 but i = 0 so number % 0 you divide by 0 try this for (i=1;i<100;i++) {
3rd Aug 2018, 12:33 PM
B K
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..
3rd Aug 2018, 1:33 PM
Nishchit Rao
Nishchit Rao - avatar