Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 months agoInfallible Codeimagemessage-square161linkfedilinkarrow-up1489arrow-down127
arrow-up1462arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 months agomessage-square161linkfedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·5 months 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.