Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agoInfallible Codelemmy.mlexternal-linkmessage-square159fedilinkarrow-up1480arrow-down128
arrow-up1452arrow-down1external-linkInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agomessage-square159fedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·1 day 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.