Mon Jun 27 2022 13:20:12 GMT+0000 (Coordinated Universal Time)
Saved by @KanishqJ8
#include <stdio.h> int main(){ int n,count=0; printf("enter the number "); scanf("%d",&n); while(n!=0){ n=n/10; count++; } printf("%d",count); return 0; }
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments