Let’s say the first N integers divisible by 3 starting with 9.
I’m sure there is some one line solution using lambdas, I just don’t know it that area of the language well enough yet.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just to be different (and to avoid using a where statement) you could also do:
Update This also has the benefit of not running out of numbers.