Crea una función que te devuelva el número de cifras de un número.
Algunos ejemplos para ayudarte serían: El número 125 tiene 3 cifras.
El número 8749023 tiene 7 cifras.
El número 4 tiene 1 cifra.
Y así sucesivamente.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers65
Suggested Problems
-
Find the two most distant points
2956 Solvers
-
516 Solvers
-
Rounding off numbers to n decimals
5749 Solvers
-
Cumulative product of a vector
302 Solvers
-
Rotate a matrix for 180 degree
218 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!