Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 7 months agoInfallible Codelemmy.mlimagemessage-square150linkfedilinkarrow-up1488arrow-down128
arrow-up1460arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 7 months agomessage-square150linkfedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·7 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.