Guest User

Untitled

a guest
Oct 18th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.15 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. main()      /* count characters in input */
  4. {
  5.     double nc;
  6.  
  7.     for (nc = 0; getchar() != EOF; ++nc)
  8.         ;
  9.     printf("%.0f\n", nc);
  10. }
Add Comment
Please, Sign In to add comment