Problem 45412. Determina el número de cifras de un número
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 commentsProblem Recent Solvers62
Suggested Problems
-
Back to basics 9 - Indexed References
449 Solvers
-
Convert a numerical matrix into a cell array of strings
2203 Solvers
-
Reverse the elements of an array
1069 Solvers
-
Replace every 3rd element in a vector with 4
256 Solvers
-
Solve a System of Linear Equations
13449 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!