0
Hey people! There is some error with the codes that I write. Can anyone explain?
compilation error is being shown for the codes newly written. https://code.sololearn.com/cZ61B0q8wiFz/?ref=app
5 Answers
+ 2
sorry about this, @Gordie. inserted it now
and thanks for the answer
0
I'm not entirely sure what's wrong with the code, but since there is no output, I can tell that the code gets stuck in the while loop. In this case, make sure n returns 0 in the while loop or it will loop forever
0
@ReimarPB, I wrote endl but forgot to pay attention to this auto-correct which always changed it end. And so the error...but now I corrected it. Thanks for the reply