0
How do i solve 'EOF Error when reading a line'? And where did i went wrong?
I'm trying to create a list of integers up till an integer that user wants and then remove some specific integers (also entered by the user). I ask the user to enter the no. of integers he wants to remove and remove them using a while loop. https://code.sololearn.com/cV4rdL0C1gl6/?ref=app
4 Réponses
0
you need to increment i variable at the end of the loop. the way you did, i is always == 1
try it :)
0
yeah! i totally forgot about that! silly me!!
0
thank you so much ^_^
0
anytime ^^