0

[SOLVED] No output c++

Why this code is not giving any output. https://code.sololearn.com/caBNS4gzlfr1/?ref=app

5th Oct 2021, 8:07 AM
Gajendra Sonare
Gajendra Sonare - avatar
5 Antworten
+ 2
Ipang I found the reason why my code is not working. I forgot to increment the value of i in the loop of check() function. That's why I was not getting any output. Thanks for replying.
5th Oct 2021, 8:42 AM
Gajendra Sonare
Gajendra Sonare - avatar
+ 1
Ipang okay. I will do this for every question from now on. Thanks.
5th Oct 2021, 8:53 AM
Gajendra Sonare
Gajendra Sonare - avatar
+ 1
Thanks bro 👍
5th Oct 2021, 8:55 AM
Ipang
0
Before anyone can help you, they need to know what this program does. Without understanding the code, they will hardly be able to help. So please at least describe what the program is, what it is supposed to do, what inputs needed to testrun (if any), and what the expected output was like.
5th Oct 2021, 8:29 AM
Ipang
0
Good job! You can mark the question solved by adding [SOLVED] for the question e.g. "[SOLVED] No output in C++". This way, people understand that problem had been solved, and refrain from posting answer or confirmation 👌
5th Oct 2021, 8:47 AM
Ipang