In the place of "Find the sum of all products whose...", I would say: "Find the number of all products whose..." ;-)
Why [] instead of 0?
Since I have kludged a solution together, can I have a hint?
this solution works on my comupter
I see the first test command line is corrupted
%%x=3
:( :( :(
I've fixed that first line in the test suite. Try it again.
1800 Solvers
Increment a number, given its digits
562 Solvers
701 Solvers
Longest run of consecutive numbers
1663 Solvers
177 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!