Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 8 months agoInfallible Codeimagemessage-square157fedilinkarrow-up1492arrow-down128
arrow-up1464arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 8 months agomessage-square157fedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·8 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.