Write a python program to accept a number and count the total number of digits in it by using while loop
Answers
Answered by
1
Answer:
1 Take the value of integer and store in a variable
2 using a while loop get each digit of the number and increments the count each time a digit is obtained
3 print the number of digits in the given integer
4 exit
Similar questions
Math,
2 months ago
Computer Science,
2 months ago
History,
5 months ago
Math,
10 months ago
English,
10 months ago