Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 months agoInfallible Codeimagemessage-square143linkfedilinkarrow-up1474arrow-down126
arrow-up1448arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 months agomessage-square143linkfedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·2 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.