Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 4 days agoInfallible Codeimagemessage-square159linkfedilinkarrow-up1483arrow-down128
arrow-up1455arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 4 days agomessage-square159linkfedilink
minus-squarevandsjov@feddit.dklinkfedilinkarrow-up1·3 days 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.