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.
Find state names that start with the letter N
617 Solvers
Program an exclusive OR operation with logical operators
641 Solvers
98 Solvers
209 Solvers
1230 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!