I think the problem statement should read "the proportion of bouncy numbers is at least p%", rather than "exactly p%."
Currently, num2str is able to handle all test cases.
701 Solvers
Reverse the Words (not letters) of a String
298 Solvers
Back to basics 6 - Column Vector
914 Solvers
Flag largest magnitude swings as they occur
588 Solvers
187 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!