cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agoInfallible Codefeddit.ukimagemessage-square57linkfedilinkarrow-up1300arrow-down117
arrow-up1283arrow-down1imageInfallible Codefeddit.ukcm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square57linkfedilink
minus-squareda_cow (she/her)@feddit.orglinkfedilinkarrow-up12·1 month 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.