I need help please, how can I write a program to count the number of digits of an integer the user entered ?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Rodha M
le 23 Sep 2020
Réponse apportée : Ameer Hamza
le 23 Sep 2020
For example, I asked the user to input a number and he entered 5984, how can I write a program to count how many digits it has (which is 4)? Thank you.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!