Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 19 days agoInfallible Codeimagemessage-square165linkfedilinkarrow-up1492arrow-down125
arrow-up1467arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 19 days agomessage-square165linkfedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·18 days agoNo, no, I would convert the number to a string and just check the last char to see if it was even or not.
No, no, I would convert the number to a string and just check the last char to see if it was even or not.