nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · edit-21 year agotrashmessage-square43fedilinkarrow-up1597arrow-down16
arrow-up1591arrow-down1message-squaretrashnave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · edit-21 year agomessage-square43fedilink
minus-squareKoboldCoterie@pawb.sociallinkfedilinkEnglisharrow-up31·1 year agoGod, it’s so obvious, you can do it in only two lines of code. if (number == 1 || number == 3 || number == 5 || number == 7 || number == 9...) return false; else return true;
God, it’s so obvious, you can do it in only two lines of code.
if (number == 1 || number == 3 || number == 5 || number == 7 || number == 9...) return false; else return true;