Odd Todd
Collapse Content
Show 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
Pavan Kashinath
Mar 26, 9:22 AMJust 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
Learneroo
Mar 26, 1:27 PM@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.
Pavan Kashinath
Mar 26, 1:35 PMOk. Thank you
David
Apr 6, 12:24 PMLearneroo addictive!!
thales
Jul 19, 8:30 AMa solution:
my code
thales
Jul 19, 8:31 AMps. when i solved a excercise i almost never see the 'featured answers'. Here i cant see any?
Is there any ?
Learneroo
Jul 19, 10:12 AMThere aren't featured answers for every question, but this module has been updated, so you can now go back and see them.