Odd Todd


Collapse Content

Three odd number in a row are called an Odd Todd. For example, {1,3,5,6} contains one Odd Todd.

Challenge

Print true if the given array contains an Odd Todd and print false otherwise.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Comments

  • Just one suggestion, As we all know there are number ways we can arrive to a solution, so it would be nice if you guys can show us the best possible solution for the question once it is answered. So that we all can learn and improve our programming skills. Thanks

  • @Pavan, some challenges show an explanation once you get a correct answer. For other challenges, a "Featured Answers" link shows up once you get the correct answer. Click it to view possible answer(s). I just added some featured answers to this module.

  • Ok. Thank you

  • Learneroo addictive!!

  • a solution:

    my code

  • ps. when i solved a excercise i almost never see the 'featured answers'. Here i cant see any?

    Is there any ?

  • There aren't featured answers for every question, but this module has been updated, so you can now go back and see them.

All Node Comments
Contact Us
Sign in or email us at [email protected]