in

Even numbers are so hard

Even numbers are so hard | web-memes, try-memes, string-memes, IT-memes, twitter-memes, retweet-memes, private-memes | ProgrammerHumor.io
web-memes, try-memes, string-memes, IT-memes, twitter-memes, retweet-memes, private-memes | ProgrammerHumor.io

[text] K Jul 30 2020 God wish there was an easier way to do this private bool IsEvenint M if number 1 return false else if number 2 return t else if number return f else if number 2l Ta I else if number return f else if number return t else if number return f else if number return t else if number 0T I S else if number else if number else if number Q 3K 11 151K Q 69K K Jul 30 2020 figured it out Thanks everyone private bool IsEvenint i 1 ST number.ToString ST numberString.SubstringnumberString.Length 1 if lastChar 0 lastChar 2 lastChar 4 lastChar lastChar 8 Q 347 1 17K QO 228K K Replying to Why are people talking about Im trying to determine parity not get percentages 108 AM Jul 30 2020 Twitter Web App 443 Retweets 162 Quote Tweets 14.4K Likes