Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 year agoInfallible Codelemmy.mlimagemessage-square157linkfedilinkarrow-up1490arrow-down127
arrow-up1463arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square157linkfedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·1 year 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.