I don't why this does not pass, case 10 fails, even though this number is not divisible by 8 despite the case saying it does. Furthermore, I pass case 16 which has case 10 referenced but fail case 15 with the same case 10.
Any suggestions please!
Look *very* carefully at your definition of eightTable, and look at the last three digits of case 10.
Thank James, obvious now that you said it :)
Test if a Number is a Palindrome without using any String Operations
181 Solvers
Basic electricity in a dry situation
488 Solvers
412 Solvers
Matlab Basics - Convert a row vector to a column vector
426 Solvers
354 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!