I need help please, how can I write a program to count the number of digits of an integer the user entered ?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rodha M
am 23 Sep. 2020
Beantwortet: Ameer Hamza
am 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!