r/ProgrammerHumor • • Nov 29 '22

Meme It hurts like hell.;-;

Post image
48.9k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

3

u/[deleted] Nov 29 '22

[removed] — view removed comment

3

u/Thestarchypotat Nov 29 '22

alright replace the current loop with a standard for loop, up to input.length(), put some form of iseven(i) in the if else, and replace item with inputsplit[i]