cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoInfallible Codefeddit.ukimagemessage-square56fedilinkarrow-up1289arrow-down118
arrow-up1271arrow-down1imageInfallible Codefeddit.ukcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square56fedilink
minus-squareda_cow (she/her)@feddit.orglinkfedilinkarrow-up4·2 months 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.