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 for balanced parentheses
How to find the position of an element in a vector without using the find function
Numbers with prime factors 2, 3 and 5.
Multiply by 3
Divisible by 16
Inscribed Pentagon? 2
Lights Out 2 - 5x5, 4 moves
Scrabble Scores - 4
Pattern Recognition 1 - Known Unit Length
Calculator spelling - Numbers to Letters
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office