Write a program that counts the number of digits in a positive integer n using a while loop.
While loop statement
Number of digits
Report a typo
Sample Input 1:
1Sample Output 1:
1Write a program in C++
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.