cm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agoInfallible Codefeddit.ukexternal-linkmessage-square57fedilinkarrow-up1293arrow-down118
arrow-up1275arrow-down1external-linkInfallible Codefeddit.ukcm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agomessage-square57fedilink
minus-squarecows_are_underrated@feddit.orglinkfedilinkarrow-up12·4 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.