r/badcode • • Jul 06 '20

[deleted by user]

[removed]

175 Upvotes

56 comments sorted by

View all comments

Show parent comment

7

u/dannypas00 Jul 06 '20

My code completes the assignment, but doesn't recognize the end of the string correctly so crashes after displaying it. Is that close enough to make it passable?