cm0002@lemmy.world to Programmer Humor@programming.dev · 3 months agoInfallible Codefeddit.ukimagemessage-square42fedilinkarrow-up1229arrow-down114
arrow-up1215arrow-down1imageInfallible Codefeddit.ukcm0002@lemmy.world to Programmer Humor@programming.dev · 3 months agomessage-square42fedilink
minus-squareda_cow (she/her)@feddit.orglinkfedilinkarrow-up9·3 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.