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 Solvers58
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48174 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6129 Solvers
-
3345 Solvers
-
The Answer to Life, the Universe, and Everything
519 Solvers
-
251 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!