Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 months agoInfallible Codelemmy.mlexternal-linkmessage-square141fedilinkarrow-up1469arrow-down127
arrow-up1442arrow-down1external-linkInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 months agomessage-square141fedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·3 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.