cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoInfallible Codefeddit.ukimagemessage-square55fedilinkarrow-up1282arrow-down118
arrow-up1264arrow-down1imageInfallible Codefeddit.ukcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square55fedilink
minus-squarecows_are_underrated@feddit.orglinkfedilinkarrow-up10·2 days agoAlternatively you can divide by 2, turn it into an int, mtiply it by 2 and check if both numbers are the same.
Alternatively you can divide by 2, turn it into an int, mtiply it by 2 and check if both numbers are the same.