write a program to count the number of digits in a number
Answers
Answered by
111
Count Number of Digits in an Integer | FACE Prep
- #include <stdio.h>
- int main()
- {
- int n;
- int count = 0;
- printf(“\nEnter the number: “);
- scanf(“%d”, &n);
- while(n != 0)
Similar questions