0

Please help !

I did the “lab number task” I don’t know why, the [bonus] part doesn’t work anymore when I change the range! But I didn’t change anything to my code! It was working the last time I tried it... Please help me ! Thanks https://code.sololearn.com/Ws3XIEDU42pB/?ref=app

21st Aug 2018, 6:29 PM
Elsa Lubek
2 Answers
+ 1
line 185 you have if (end<beg) so it isnt working you need to change it to end > beg.
21st Aug 2018, 9:00 PM
Mooaholic
Mooaholic - avatar
+ 1
Thank you !!! It was so stupid ! Now it works !
22nd Aug 2018, 4:34 AM
Elsa Lubek