SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. #include<conio.h>
  3. int main(void)
  4. {
  5.     int n,c=0;
  6.     scanf("%d",&n);
  7.     while(n>0)
  8.     {
  9.         n=n/10;
  10.         c++;
  11.     }
  12.     printf("%d",c);
  13.     getch();
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top