Number of Digit program in c language #include<stdio.h> int main() { int x,count=0; scanf("%d",&x); while(x!=0) { x=x/10; count++; } printf("number of digit=%d", count); }
https://www.codewithc.com/c-projects-with-source-code/
ReplyDelete