Untitled
#include <stdio.h> int main() { int n,count=0; scanf("%d",&n); while (n!=0) { if (n%10==0) { n/=10; } count++; } printf("%d\n",count); return 0; }
#include <stdio.h> int main() { int n,count=0; scanf("%d",&n); while (n!=0) { if (n%10==0) { n/=10; } count++; } printf("%d\n",count); return 0; }