Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agoInfallible Codeimagemessage-square151fedilinkarrow-up1445arrow-down125
arrow-up1420arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agomessage-square151fedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·8 hours 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.